diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-05 07:22:01 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-05 07:22:01 +0200 |
commit | 6a002b8f578ec59fb452b83a6af64d153f22b076 (patch) | |
tree | bf560015e17f58e1ae98b3c161de58675fec160e /src/ui/labelwidget.c | |
parent | 20a176e1d91514ff2e060c67e448d014ee9b8806 (diff) |
Keybindings for Back/Forward navigation
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r-- | src/ui/labelwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c index b4ba79fe..9c489123 100644 --- a/src/ui/labelwidget.c +++ b/src/ui/labelwidget.c | |||
@@ -293,7 +293,7 @@ void init_LabelWidget(iLabelWidget *d, const char *label, const char *cmd) { | |||
293 | setFlags_Widget(&d->widget, hover_WidgetFlag, d->click.button != 0); | 293 | setFlags_Widget(&d->widget, hover_WidgetFlag, d->click.button != 0); |
294 | d->alignVisual = iFalse; | 294 | d->alignVisual = iFalse; |
295 | updateSize_LabelWidget(d); | 295 | updateSize_LabelWidget(d); |
296 | updateKey_LabelWidget_(d); | 296 | updateKey_LabelWidget_(d); /* could be bound to another key */ |
297 | } | 297 | } |
298 | 298 | ||
299 | void deinit_LabelWidget(iLabelWidget *d) { | 299 | void deinit_LabelWidget(iLabelWidget *d) { |
@@ -342,6 +342,7 @@ iLabelWidget *newKeyMods_LabelWidget(const char *label, int key, int kmods, cons | |||
342 | iLabelWidget *d = new_LabelWidget(label, command); | 342 | iLabelWidget *d = new_LabelWidget(label, command); |
343 | d->key = key; | 343 | d->key = key; |
344 | d->kmods = kmods; | 344 | d->kmods = kmods; |
345 | updateKey_LabelWidget_(d); /* could be bound to a different key */ | ||
345 | return d; | 346 | return d; |
346 | } | 347 | } |
347 | 348 | ||