winex11: Use the same full screen test in is_window_managed and update_wm_states.
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 6dd9e7d..cf84389 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -103,8 +103,8 @@
/* popup with sysmenu == caption are managed */
if (style & WS_SYSMENU) return TRUE;
/* full-screen popup windows are managed */
- if ((window_rect->right - window_rect->left) == screen_width &&
- (window_rect->bottom - window_rect->top) == screen_height)
+ if (window_rect->left <= 0 && window_rect->right >= screen_width &&
+ window_rect->top <= 0 && window_rect->bottom >= screen_height)
return TRUE;
}
/* default: not managed */