summaryrefslogtreecommitdiff
path: root/yapp/message_pump.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-02-11 23:12:43 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-02-11 23:12:43 +0000
commitfe4bfa8444d1c55f45cab830002d78a6923d9da3 (patch)
treef96f5fa026d3d2ffb7a5fa6ea074ba8c5fe03cc4 /yapp/message_pump.cpp
parent6dcf1d3495e2e11183a4eaf7c04982da1df1acf9 (diff)
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
Diffstat (limited to 'yapp/message_pump.cpp')
-rw-r--r--yapp/message_pump.cpp2
1 files changed, 1 insertions, 1 deletions
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))