Warn when FindWindow needs to check other processes windows.
diff --git a/windows/win.c b/windows/win.c
index e916236..fa08647 100644
--- a/windows/win.c
+++ b/windows/win.c
@@ -983,7 +983,7 @@
{
retvalue = 0;
goto end;
- }
+ }
}
if (cs->style & WS_VISIBLE) ShowWindow( hwnd, sw );
@@ -1562,6 +1562,10 @@
}
}
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;