source/Platform/Unix/X11Display.cpp: Replace ResizeRedirectMask with StructureNotifyMask
ResizeRedirectMask is broken (will not update the window size). We use StrucutreNotifyMask instead and capture the window size from CaptureNotify event instead.
This commit is contained in:
parent
478cdaa8a1
commit
31970826a4
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ bool X11Display::create(DisplayDescription description)
|
|||
// We want Keyboard,Mouse,Resize,Exposure (repaint) events.
|
||||
attr.event_mask = KeyPressMask | KeyReleaseMask
|
||||
| ButtonPressMask | ButtonReleaseMask | PointerMotionMask
|
||||
| ResizeRedirectMask | ExposureMask;
|
||||
| StructureNotifyMask | ExposureMask;
|
||||
|
||||
m_win = XCreateWindow(m_disp,
|
||||
RootWindow(m_disp, m_screen),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue