https://bugs.winehq.org/show_bug.cgi?id=41062
--- Comment #22 from Esme Povirk madewokherd@gmail.com --- There's still something going on here that I don't understand. The default WM_NCCREATE handler is supposed to remove the WS_DLGFRAME style from the window. WS_CAPTION is defined as a combination of WS_DLGRAME and WS_BORDER. So why does is_window_managed in winex11.drv observe a mode of WS_CAPTION and create the window as managed?