From 95e4963f1d2c9e018c7cafaee0e593566fcda412 Mon Sep 17 00:00:00 2001 From: crs Date: Tue, 22 Jun 2004 21:11:14 +0000 Subject: [PATCH] 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. --- lib/platform/CXWindowsScreen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/platform/CXWindowsScreen.cpp b/lib/platform/CXWindowsScreen.cpp index e20e07c7..e176ca37 100644 --- a/lib/platform/CXWindowsScreen.cpp +++ b/lib/platform/CXWindowsScreen.cpp @@ -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;