From b6f46fb622e6ecc16a51cf2d33afdba82bd18e2b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 27 Jan 2014 09:30:15 -0500 Subject: [PATCH] ungrab comp input if either keyboard or mouse is set, not both T858 --- src/bin/e_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 6bba5e842..c4f412878 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1746,7 +1746,7 @@ e_comp_ungrab_input(E_Comp *c, Eina_Bool mouse, Eina_Bool kbd) c->input_mouse_grabs -= mouse; if (c->input_key_grabs) c->input_key_grabs -= kbd; - if ((!mwin) || (!kwin)) return; + if ((!mwin) && (!kwin)) return; e_grabinput_release(mwin, kwin); evas_event_feed_mouse_out(c->evas, 0, NULL); evas_event_feed_mouse_in(c->evas, 0, NULL);