From 26f5edb97fb3dcc0659c3ae5fff5b816f80d57e5 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 24 May 2017 20:41:55 +0200 Subject: [PATCH] no-op change: store |button| in the correct data type --- src/bindings.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bindings.c b/src/bindings.c index e9aec2c6..7cba556e 100644 --- a/src/bindings.c +++ b/src/bindings.c @@ -483,8 +483,9 @@ void translate_keysyms(void) { ELOG("Could not translate string to button: \"%s\"\n", bind->symbol); } - bind->keycode = button; - ADD_TRANSLATED_KEY(button, bind->event_state_mask); + xcb_keycode_t key = button; + bind->keycode = key; + ADD_TRANSLATED_KEY(key, bind->event_state_mask); continue; }