From ff5d719fcfeaf19c114df77317768ba006b94df1 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 25 Jul 2023 19:45:48 +0200 Subject: [PATCH] source/Platform/Unix/X11Display.cpp: Do not capture Pointer motions. --- source/Platform/Unix/X11Display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Platform/Unix/X11Display.cpp b/source/Platform/Unix/X11Display.cpp index bb3be61..884fb40 100644 --- a/source/Platform/Unix/X11Display.cpp +++ b/source/Platform/Unix/X11Display.cpp @@ -55,7 +55,7 @@ bool X11Display::create(DisplayDescription description) // We want InputFocus,Keyboard,Mouse,Resize,Exposure (repaint) events. attr.event_mask = FocusChangeMask | KeyPressMask | KeyReleaseMask - | ButtonPressMask | ButtonReleaseMask | PointerMotionMask + | ButtonPressMask | ButtonReleaseMask | StructureNotifyMask | ExposureMask; m_win = ::XCreateWindow(disp, root_win,