1
0
Fork 0

source/Platform/Unix/X11Display.cpp: Do not capture Pointer motions.

This commit is contained in:
Henrik Hautakoski 2023-07-25 19:45:48 +02:00
parent 75a53f635d
commit ff5d719fcf

View file

@ -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,