Second time today I forgot something... unmask StructureNotify events so we actually GET the MapNotify event!

This commit is contained in:
Ben Anderson
2005-03-13 19:18:23 +00:00
parent f5b08ace8e
commit fbc1ebcf32
@@ -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;