From 9e2512eb98d0022f7991be79fecc88611f22bed2 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 14 Jul 2015 15:26:38 -0400 Subject: [PATCH] e-comp-wl: Fix T2570: stuck key when closing efm windows Signed-off-by: Chris Michael --- src/bin/e_comp_wl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 753d0b0..4ef8f1b 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -852,6 +852,8 @@ _e_comp_wl_cb_key_down(void *event) uint32_t serial, *end, *k, keycode; ev = event; + if (ev->window != e_comp->ee_win) return; + keycode = (ev->keycode - 8); if (!(cdata = e_comp->wl_comp_data)) return; @@ -917,6 +919,8 @@ _e_comp_wl_cb_key_up(void *event) Eina_List *l; ev = event; + if (ev->window != e_comp->ee_win) return; + keycode = (ev->keycode - 8); if (!(cdata = e_comp->wl_comp_data)) return; -- 2.7.4