fix grab key to limit window event reporting properly.

SVN revision: 34851
This commit is contained in:
Carsten Haitzler 2008-06-18 11:36:21 +00:00
parent c5ecd8819e
commit c346a633c7
1 changed files with 1 additions and 1 deletions

View File

@ -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));