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:
parent
43548cee89
commit
95e4963f1d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue