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 ++-- yapp/version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); diff --git a/yapp/version.h b/yapp/version.h index cbdfa4c..07ee79f 100644 --- a/yapp/version.h +++ b/yapp/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 3 #define __RELEASE_NUM 1 -#define __BUILD_NUM 1 +#define __BUILD_NUM 2 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3