ungrab comp input if either keyboard or mouse is set, not both

T858
This commit is contained in:
Mike Blumenkrantz 2014-01-27 09:30:15 -05:00
parent de58ff7ecd
commit b6f46fb622
1 changed files with 1 additions and 1 deletions

View File

@ -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);