diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-01 00:00:09 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-01 00:00:09 +0200 |
commit | 4c8e9247ad8842496f43fec420376db3938b697b (patch) | |
tree | 07c2b10596dc530681523332789a0b8f595b8dbe | |
parent | 087acb10281123c0282fb4febd1c1b9fe168a2ab (diff) |
rofi: Fix NkBindings calls order
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r-- | source/rofi.c | 2 | ||||
m--------- | subprojects/libnkutils | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c index b97e741e..f18c880b 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1045,6 +1045,7 @@ int main ( int argc, char *argv[] ) required_map_parts, /* map */ &details ); + xkb.bindings = nk_bindings_new (); xkb.bindings_seat = nk_bindings_seat_new ( xkb.bindings, XKB_CONTEXT_NO_FLAGS ); struct xkb_keymap *keymap = xkb_x11_keymap_new_from_device ( nk_bindings_seat_get_context ( xkb.bindings_seat ), xcb->connection, xkb.device_id, XKB_KEYMAP_COMPILE_NO_FLAGS ); if ( keymap == NULL ) { @@ -1059,7 +1060,6 @@ int main ( int argc, char *argv[] ) return EXIT_FAILURE; } - xkb.bindings = nk_bindings_new (); nk_bindings_seat_update_keymap ( xkb.bindings_seat, keymap, state ); if ( xcb_connection_has_error ( xcb->connection ) ) { diff --git a/subprojects/libnkutils b/subprojects/libnkutils -Subproject 4a7bb21f798f36ce6521ee07387297e812e6ad1 +Subproject 53314c0ab58d1a677d61017a413fd1d83b05ce3 |