From 2563b1b7324b8c3aa4079d727039ce36ced7cfc3 Mon Sep 17 00:00:00 2001 From: Joerg Mayer Date: Fri, 22 Dec 2000 20:29:41 +0000 Subject: [PATCH] Warn when FindWindow needs to check other processes windows. --- windows/win.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/windows/win.c b/windows/win.c index e916236488a..fa086472c1b 100644 --- a/windows/win.c +++ b/windows/win.c @@ -983,7 +983,7 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom, { retvalue = 0; goto end; - } + } } if (cs->style & WS_VISIBLE) ShowWindow( hwnd, sw ); @@ -1562,6 +1562,10 @@ static HWND WIN_FindWindow( HWND parent, HWND child, ATOM className, } } retvalue = 0; + /* In this case we need to check whether other processes + own a window with the given paramters on the Desktop, + but we don't, so let's at least warn about it */ + FIXME("Returning 0 without checking other processes\n"); end: WIN_ReleaseWndPtr(pWnd); return retvalue;