commit | 6536868d0771ab987b37d8a444ba8aaf71cd0389 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Wed Jun 25 15:49:44 2008 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Jun 25 15:49:44 2008 +0200 |
tree | 60466a8478b5b36708476b396ed4cb39092e20e8 | |
parent | 612c0104312e81c21b0a1216edd181cd46687404 [diff] [blame] |
user32: Make sure that IsWindowVisible returns FALSE for HWND_MESSAGE windows.
diff --git a/server/window.c b/server/window.c index ed8f042..303a6cf 100644 --- a/server/window.c +++ b/server/window.c
@@ -604,7 +604,7 @@ /* check if window and all its ancestors are visible */ static int is_visible( const struct window *win ) { - while (win && win->parent) + while (win) { if (!(win->style & WS_VISIBLE)) return 0; win = win->parent;