add comment

This commit is contained in:
Dana Jansens 2003-01-29 01:38:45 +00:00
parent 85706d995c
commit a20c78f789

View file

@ -386,6 +386,7 @@ bool Bindings::grabKeyboard(int screen, PyObject *callback)
if (XGrabKeyboard(**otk::display, root, false, GrabModeAsync,
GrabModeAsync, CurrentTime))
return false;
// the pointer grab causes pointer events during the keyboard grab to go away
XGrabPointer(**otk::display, root, false, 0, GrabModeAsync,
GrabModeAsync, None, None, CurrentTime);
_keybgrab_callback = callback;