use comp overrides when grabbing comp input
authorMike Blumenkrantz <zmike@samsung.com>
Wed, 26 Feb 2014 16:43:11 +0000 (11:43 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Wed, 26 Feb 2014 16:46:31 +0000 (11:46 -0500)
src/bin/e_comp.c

index 9b162be..7d6b877 100644 (file)
@@ -1738,6 +1738,7 @@ e_comp_grab_input(E_Comp *c, Eina_Bool mouse, Eina_Bool kbd)
      mwin = c->ee_win;
    if (kbd || c->input_mouse_grabs)
      kwin = c->ee_win;
+   e_comp_override_add(c);
    if ((c->input_mouse_grabs && c->input_key_grabs) ||
        e_grabinput_get(mwin, 0, kwin))
      {
@@ -1763,6 +1764,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;
+   e_comp_override_timed_pop(c);
    if ((!mwin) && (!kwin)) return;
    e_grabinput_release(mwin, kwin);
    evas_event_feed_mouse_out(c->evas, 0, NULL);