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/message_pump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yapp/message_pump.cpp') 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)) -- cgit v1.2.3