source/Platform/Unix/X11Display.cpp: Tell window to generate pointer events.
This commit is contained in:
parent
2cf035089b
commit
d601d95d40
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ bool X11Display::create(DisplayDescription description)
|
||||||
// We want InputFocus,Keyboard,Mouse,Resize,Exposure (repaint) events.
|
// We want InputFocus,Keyboard,Mouse,Resize,Exposure (repaint) events.
|
||||||
attr.event_mask = FocusChangeMask
|
attr.event_mask = FocusChangeMask
|
||||||
| KeyPressMask | KeyReleaseMask
|
| KeyPressMask | KeyReleaseMask
|
||||||
| ButtonPressMask | ButtonReleaseMask
|
| ButtonPressMask | ButtonReleaseMask | PointerMotionMask
|
||||||
| StructureNotifyMask | ExposureMask;
|
| StructureNotifyMask | ExposureMask;
|
||||||
|
|
||||||
m_win = ::XCreateWindow(disp, root_win,
|
m_win = ::XCreateWindow(disp, root_win,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue