From 3bc7082f4e08e71fb40944bb085fafbb65f6c8cf Mon Sep 17 00:00:00 2001 From: N-R-K <79544946+N-R-K@users.noreply.github.com> Date: Wed, 1 Dec 2021 05:41:22 +0600 Subject: 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 --- window.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'window.c') 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) -- cgit v1.2.3