diff --git a/src/bin/e_grabinput.c b/src/bin/e_grabinput.c index 09083d4dc..0a4f0d43f 100644 --- a/src/bin/e_grabinput.c +++ b/src/bin/e_grabinput.c @@ -123,12 +123,15 @@ _e_grabinput_focus(Ecore_X_Window win, E_Focus_Method method) ecore_x_window_focus(win); ecore_x_sync(); // let x actually get the x focus request ecore_x_icccm_take_focus_send(win, ecore_x_current_time_get()); + ecore_x_sync(); // let x actually get the x focus request break; case E_FOCUS_METHOD_GLOBALLY_ACTIVE: ecore_x_icccm_take_focus_send(win, ecore_x_current_time_get()); + ecore_x_sync(); // let x actually get the x focus request break; case E_FOCUS_METHOD_PASSIVE: ecore_x_window_focus(win); + ecore_x_sync(); // let x actually get the x focus request break; default: break;