summaryrefslogtreecommitdiff
path: root/yapp/message_pump.cpp
diff options
context:
space:
mode:
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))