Module: wine Branch: master Commit: 0bbadeb69ba8b478dea0b0f70345ef7d8cd97b3e URL: http://source.winehq.org/git/wine.git/?a=commit;h=0bbadeb69ba8b478dea0b0f703...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 21 20:33:18 2008 +0200
winex11: Set type to dialog for owned popup windows.
---
dlls/winex11.drv/window.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index e362e9c..996bb8e 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -883,6 +883,7 @@ void X11DRV_set_wm_hints( Display *display, struct x11drv_win_data *data ) else if (ex_style & WS_EX_APPWINDOW) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_NORMAL); else if (style & WS_DLGFRAME) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_DIALOG); else if (ex_style & WS_EX_DLGMODALFRAME) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_DIALOG); + else if ((style & WS_POPUP) && owner) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_DIALOG); #if 0 /* many window managers don't handle utility windows very well */ else if (ex_style & WS_EX_TOOLWINDOW) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_UTILITY); #endif