From 1e8626d4a4b99cd26b25079ffbac10061571e067 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 23 May 2007 08:24:31 +0000 Subject: another fix for full-screen detection git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@183 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/message_pump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yapp/message_pump.cpp') diff --git a/yapp/message_pump.cpp b/yapp/message_pump.cpp index 3e0349d..b70fd6e 100644 --- a/yapp/message_pump.cpp +++ b/yapp/message_pump.cpp @@ -35,8 +35,8 @@ bool is_full_screen() { if(!IsWindowVisible(hWnd) || IsIconic(hWnd) || GetDesktopWindow() == hWnd) continue; - //if (!(GetWindowLong(hWnd, GWL_EXSTYLE) & WS_EX_TOPMOST)) - //continue; + if (!(GetWindowLong(hWnd, GWL_EXSTYLE) & WS_EX_TOPMOST)) + continue; // not sure if this could be done more simply using 'IsZoomed'? GetClientRect(hWnd, &ClientRect); -- cgit v1.2.3