summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-07-09 12:27:28 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-07-09 18:03:06 -0400
commitd4756b7955666f87019d2e4bd4b420c16cf855c2 (patch)
treedd9e167a6168b09b0d2d29283efe1382d34bba4a
parent61d67df18b4c813ac840a18255ae180838eab7a7 (diff)
toytoolkit: Remove redundant XKB free
We already unref these in fini_xkb(). Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--clients/window.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/clients/window.c b/clients/window.c
index 92f3fd58..cb4bc842 100644
--- a/clients/window.c
+++ b/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);