From: Michael Stapelberg Date: Wed, 24 May 2017 18:41:55 +0000 (+0200) Subject: no-op change: store |button| in the correct data type X-Git-Tag: 4.14~27^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26f5edb97fb3dcc0659c3ae5fff5b816f80d57e5;p=i3%2Fi3 no-op change: store |button| in the correct data type --- 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; }