aboutsummaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2021-12-01 00:41:22 +0100
committerGitHub <noreply@github.com>2021-12-01 00:41:22 +0100
commit3bc7082f4e08e71fb40944bb085fafbb65f6c8cf (patch)
treea47b2421ab25c4a28257252f6bb9fecfc3797adc /window.c
parent68ddbe28d87eed9efe5158cdaa5613e0ca66e3c5 (diff)
downloadnsxiv-3bc7082f4e08e71fb40944bb085fafbb65f6c8cf.tar.zst
fix: send implicit_mod to process_bindings (#176)
* fix: send implicit_mod to process_bindings this solves the edge case where someone might have `ShiftMask + A` in their keybindings compared to a plain `A`. Closes: https://github.com/nsxiv/nsxiv/pull/166#issuecomment-978853136 * code-style: smuggle small style fix in win_draw_bar now mimics autoreload_nop.c functions
Diffstat (limited to 'window.c')
-rw-r--r--window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/window.c b/window.c
index 7a04270..8b45501 100644
--- a/window.c
+++ b/window.c
@@ -466,7 +466,10 @@ static void win_draw_bar(win_t *win)
XftDrawDestroy(d);
}
#else
-static void win_draw_bar(win_t *win){}
+static void win_draw_bar(win_t *win)
+{
+ (void) win;
+}
#endif /* HAVE_LIBFONTS */
void win_draw(win_t *win)