Second time today I forgot something... unmask StructureNotify events so we actually GET the MapNotify event!
This commit is contained in:
@@ -64,7 +64,7 @@ CString LowLevelWindow_X11::TryVideoMode(RageDisplay::VideoModeParams p, bool &b
|
||||
|
||||
if(!vinfo) { return "No visual available for that depth."; }
|
||||
|
||||
|
||||
X11Helper::OpenMask(StructureNotifyMask);
|
||||
|
||||
if(!X11Helper::MakeWindow(xvi->screen, xvi->depth, xvi->visual,
|
||||
p.width, p.height) )
|
||||
@@ -90,6 +90,8 @@ CString LowLevelWindow_X11::TryVideoMode(RageDisplay::VideoModeParams p, bool &b
|
||||
otherEvs.pop();
|
||||
}
|
||||
|
||||
X11Helper::CloseMask(StructureNotifyMask);
|
||||
|
||||
glXMakeCurrent(X11Helper::Dpy(), X11Helper::Win(), ctxt);
|
||||
|
||||
windowIsOpen = true;
|
||||
|
||||
Reference in New Issue
Block a user