toytoolkit: Remove redundant XKB free

We already unref these in fini_xkb().

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone 13 years ago committed by Kristian Høgsberg
parent 61d67df18b
commit d4756b7955
  1. 5
      clients/window.c

@ -3338,11 +3338,6 @@ input_destroy(struct input *input)
input_remove_keyboard_focus(input);
input_remove_pointer_focus(input);
if (input->xkb.state)
xkb_state_unref(input->xkb.state);
if (input->xkb.keymap)
xkb_map_unref(input->xkb.keymap);
if (input->drag_offer)
data_offer_destroy(input->drag_offer);

Loading…
Cancel
Save