1
0
Fork 0

source/Platform/Unix/X11Display.cpp: Tell window to generate pointer events.

This commit is contained in:
Henrik Hautakoski 2023-08-02 20:16:36 +02:00
parent 2cf035089b
commit d601d95d40

View file

@ -57,7 +57,7 @@ bool X11Display::create(DisplayDescription description)
// We want InputFocus,Keyboard,Mouse,Resize,Exposure (repaint) events.
attr.event_mask = FocusChangeMask
| KeyPressMask | KeyReleaseMask
| ButtonPressMask | ButtonReleaseMask
| ButtonPressMask | ButtonReleaseMask | PointerMotionMask
| StructureNotifyMask | ExposureMask;
m_win = ::XCreateWindow(disp, root_win,