forked from enlightenment/enlightenment
focus using current time gotten from event stream.
SVN revision: 66899
This commit is contained in:
parent
28de5a6ad3
commit
0149e51aaa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue