From fe4bfa8444d1c55f45cab830002d78a6923d9da3 Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 11 Feb 2007 23:12:43 +0000 Subject: do not consider desktop window a full-screen app git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@119 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/YAPP.mdsp | 7 ++++--- yapp/message_pump.cpp | 2 +- yapp/version.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'yapp') diff --git a/yapp/YAPP.mdsp b/yapp/YAPP.mdsp index bda90c8..e290cac 100644 --- a/yapp/YAPP.mdsp +++ b/yapp/YAPP.mdsp @@ -112,12 +112,13 @@ extraResourceOptions= [History] common.h,2413 popup_history.cpp,2330 -popwin.cpp,0 +popwin.cpp,590 resource.rc,23 version.rc,24 resource.h,2162 popups2.rc,830 -popups2.cpp,1527 +popups2.cpp,1520 ..\..\include\m_plugins.h,0 -..\..\include\newpluginapi.h,1205 +..\..\include\newpluginapi.h,1183 +message_pump.cpp,945 version.h,175 diff --git a/yapp/message_pump.cpp b/yapp/message_pump.cpp index be1534a..767ac2c 100644 --- a/yapp/message_pump.cpp +++ b/yapp/message_pump.cpp @@ -29,7 +29,7 @@ bool is_full_screen() { // check other top level windows while (hWnd = FindWindowEx(NULL, hWnd, NULL, NULL)) { - if(!IsWindowVisible(hWnd) || IsIconic(hWnd)) + if(!IsWindowVisible(hWnd) || IsIconic(hWnd) || GetDesktopWindow() == hWnd) continue; if (!(GetWindowLong(hWnd, GWL_EXSTYLE) & WS_EX_TOPMOST)) diff --git a/yapp/version.h b/yapp/version.h index 7054b51..77854c7 100644 --- a/yapp/version.h +++ b/yapp/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 2 #define __RELEASE_NUM 2 -#define __BUILD_NUM 0 +#define __BUILD_NUM 1 #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