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:
parent
044c55dd2f
commit
d88b1bd09b
1 changed files with 2 additions and 0 deletions
|
@ -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 ( );
|
||||
|
|
Loading…
Add table
Reference in a new issue