diff --git a/source/Platform/Unix/X11Display.cpp b/source/Platform/Unix/X11Display.cpp index 7e57b76..a98ccd3 100644 --- a/source/Platform/Unix/X11Display.cpp +++ b/source/Platform/Unix/X11Display.cpp @@ -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),