From: havoc Date: Thu, 28 Aug 2003 13:52:47 +0000 (+0000) Subject: thanks to Andreas Kirsh for a discussion about using WS_EX_TOPMOST flag on the fullsc... X-Git-Tag: xonotic-v0.1.0preview~6409 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3fe9d6e6c35da1204647d77f6bd3b44bce752a99;p=xonotic%2Fdarkplaces.git thanks to Andreas Kirsh for a discussion about using WS_EX_TOPMOST flag on the fullscreen window (hopefully this will keep dialogs from cutting holes in the frame like some people have reported) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3424 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_wgl.c b/vid_wgl.c index 8bc1d781..31507a42 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -799,7 +799,7 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp, int stencil) vid_isfullscreen = true; WindowStyle = WS_POPUP; - ExWindowStyle = 0; + ExWindowStyle = WS_EX_TOPMOST; } else {