Disable key event capture on X11. This was going to be used to

detect synergy hotkeys but a design flaw in X11 makes it problematic
with many applications.  We'll have to fall back to the more
traditional XGrabKey when the time comes.
This commit is contained in:
crs 2004-06-22 21:11:14 +00:00
parent 43548cee89
commit 95e4963f1d
1 changed files with 1 additions and 2 deletions

View File

@ -1313,8 +1313,7 @@ CXWindowsScreen::doSelectEvents(Window w) const
// select events of interest. do this before querying the tree so
// we'll get notifications of children created after the XQueryTree()
// so we won't miss them.
XSelectInput(m_display, w, KeyPressMask | KeyReleaseMask |
PointerMotionMask | SubstructureNotifyMask);
XSelectInput(m_display, w, PointerMotionMask | SubstructureNotifyMask);
// recurse on child windows
Window rw, pw, *cw;