1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-01-27 15:25:24 -05:00

xcb: Be sure not to leak xkb keymap/state

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-06-03 14:26:25 +02:00
parent 044c55dd2f
commit d88b1bd09b
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7

View file

@ -967,6 +967,8 @@ gboolean display_setup ( GMainLoop *main_loop, NkBindings *bindings )
}
nk_bindings_seat_update_keymap ( xcb->bindings_seat, keymap, state );
xkb_state_unref(state);
xkb_keymap_unref(keymap);
// determine numlock mask so we can bind on keys with and without it
x11_create_frequently_used_atoms ( );