From 714db937e2ec50b2124bda465037d4bbd4e4639a Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 12 Jun 2006 21:24:48 +0000 Subject: [PATCH] don't set vid_activewindow to false in Map/Unmap events, just in FocusIn/FocusOut git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6473 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_glx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vid_glx.c b/vid_glx.c index 04d6516a..4955b817 100644 --- 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: -- 2.39.2