diff options
Diffstat (limited to 'yapp')
-rw-r--r-- | yapp/YAPP.mdsp | 22 | ||||
-rw-r--r-- | yapp/message_pump.cpp | 10 | ||||
-rw-r--r-- | yapp/version.h | 2 |
3 files changed, 18 insertions, 16 deletions
diff --git a/yapp/YAPP.mdsp b/yapp/YAPP.mdsp index ae3b86c..be85244 100644 --- a/yapp/YAPP.mdsp +++ b/yapp/YAPP.mdsp @@ -110,15 +110,15 @@ extraResourceOptions= 1=popups2.rc
2=version.rc
[History]
-common.h,2374
-popup_history.cpp,2330
-popwin.cpp,583
-resource.rc,23
-version.rc,24
-resource.h,2162
-popups2.rc,830
-popups2.cpp,1500
-..\..\include\m_plugins.h,0
+version.h,891
..\..\include\newpluginapi.h,1183
-message_pump.cpp,893
-version.h,175
+..\..\include\m_plugins.h,0
+popups2.cpp,1500
+popups2.rc,830
+resource.h,2162
+version.rc,24
+resource.rc,23
+popwin.cpp,583
+popup_history.cpp,2330
+common.h,2374
+message_pump.cpp,722
diff --git a/yapp/message_pump.cpp b/yapp/message_pump.cpp index 93d783a..3e0349d 100644 --- a/yapp/message_pump.cpp +++ b/yapp/message_pump.cpp @@ -24,10 +24,12 @@ bool is_full_screen() { // check foregroundwindow
hWnd = GetForegroundWindow();
- GetClientRect(hWnd, &ClientRect);
- if ((ClientRect.right - ClientRect.left) >= w && (ClientRect.bottom - ClientRect.top) >= h)
- return true;
-
+ if(hWnd && hWnd != GetDesktopWindow()) {
+ GetClientRect(hWnd, &ClientRect);
+ if ((ClientRect.right - ClientRect.left) >= w && (ClientRect.bottom - ClientRect.top) >= h)
+ return true;
+ }
+
// check other top level windows
while (hWnd = FindWindowEx(NULL, hWnd, NULL, NULL)) {
if(!IsWindowVisible(hWnd) || IsIconic(hWnd) || GetDesktopWindow() == hWnd)
diff --git a/yapp/version.h b/yapp/version.h index 86572cb..cbdfa4c 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 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
|