From 0149e51aaacc36aa29ce5da9ecdc4104ab9b2012 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 5 Jan 2012 10:08:08 +0000 Subject: [PATCH] focus using current time gotten from event stream. SVN revision: 66899 --- src/bin/e_grabinput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_grabinput.c b/src/bin/e_grabinput.c index 517d26871..023688947 100644 --- a/src/bin/e_grabinput.c +++ b/src/bin/e_grabinput.c @@ -116,14 +116,14 @@ _e_grabinput_focus(Ecore_X_Window win, E_Focus_Method method) case E_FOCUS_METHOD_NO_INPUT: break; case E_FOCUS_METHOD_LOCALLY_ACTIVE: - ecore_x_window_focus(win); + ecore_x_window_focus_at_time(win, ecore_x_current_time_get()); ecore_x_icccm_take_focus_send(win, ecore_x_current_time_get()); break; case E_FOCUS_METHOD_GLOBALLY_ACTIVE: ecore_x_icccm_take_focus_send(win, ecore_x_current_time_get()); break; case E_FOCUS_METHOD_PASSIVE: - ecore_x_window_focus(win); + ecore_x_window_focus_at_time(win, ecore_x_current_time_get()); break; default: break;