Commit ee719954 authored by Noel Borthwick's avatar Noel Borthwick Committed by Alexandre Julliard

Fixed a problem with managed mode, where popup windows with a WS_DLGFRAME

style were appearing with a title bar. According to the docs for WS_DLGFRAME a window with this style cannot have a title bar.
parent a739a69c
......@@ -185,7 +185,10 @@ BOOL X11DRV_WND_CreateWindow(WND *wndPtr, CLASS *classPtr, CREATESTRUCTA *cs, BO
XWMHints* wm_hints;
XSetWindowAttributes win_attr;
if (Options.managed && ((cs->style & (WS_DLGFRAME | WS_THICKFRAME)) ||
/* Create "managed" windows only if a title bar or resizable */
/* frame is required. */
if (Options.managed && ( ((cs->style & WS_CAPTION) == WS_CAPTION) ||
(cs->style & WS_THICKFRAME) ||
(cs->dwExStyle & WS_EX_DLGMODALFRAME)))
{
win_attr.event_mask = ExposureMask | KeyPressMask |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment