forked from enlightenment/efl
fix grab key to limit window event reporting properly.
SVN revision: 34851
This commit is contained in:
parent
c5ecd8819e
commit
c346a633c7
|
@ -1263,7 +1263,7 @@ ecore_x_window_key_grab(Ecore_X_Window win, const char *key,
|
|||
locks[7] = ECORE_X_LOCK_CAPS | ECORE_X_LOCK_NUM | ECORE_X_LOCK_SCROLL;
|
||||
for (i = 0; i < 8; i++)
|
||||
XGrabKey(_ecore_x_disp, keycode, m | locks[i],
|
||||
win, True, GrabModeSync, GrabModeAsync);
|
||||
win, False, GrabModeSync, GrabModeAsync);
|
||||
_ecore_key_grabs_num++;
|
||||
_ecore_key_grabs = realloc(_ecore_key_grabs,
|
||||
_ecore_key_grabs_num * sizeof(Window));
|
||||
|
|
Loading…
Reference in New Issue