]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't set vid_activewindow to false in Map/Unmap events, just in FocusIn/FocusOut
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Jun 2006 21:24:48 +0000 (21:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Jun 2006 21:24:48 +0000 (21:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6473 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c

index 04d6516ac50c4294fff924d9877747a822c4393f..4955b817dd2c8011cd6fe7f049a3072a54961cd7 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -434,13 +434,11 @@ static void HandleEvents(void)
                case MapNotify:
                        // window restored
                        vid_hidden = false;
-                       vid_activewindow = false;
                        VID_RestoreSystemGamma();
                        break;
                case UnmapNotify:
                        // window iconified/rolledup/whatever
                        vid_hidden = true;
-                       vid_activewindow = false;
                        VID_RestoreSystemGamma();
                        break;
                case FocusIn: