Re: [PATCH v3 0/2] MR8848: quartz: Preserve the current visibility in IVideoWindow::put_Style().
29 Aug
2025
29 Aug
'25
10:34 a.m.
That fails because the window gains WS_CLIPSIBLINGS after SetParent(0) on native but that doesn't happen on wine. ``` HWND hwnd = ... HWND hwnd2 = ... SetParent(hwnd, hwnd2); SetWindowLongPtrW(hwnd, GWL_STYLE, WS_OVERLAPPEDWINDOW); // no WS_CLIPSIBLINGS SetParent(hwnd, 0); // has WS_CLIPSIBLINGS on native but not wine SetWindowLongPtrW(hwnd, GWL_STYLE, WS_OVERLAPPEDWINDOW); // both native and wine have WS_CLIPSIBLINGS ``` I see wine forces WS_CLIPSIBLINGS when the parent is the desktop window in win32u/window.c:set_window_long but no such thing on NtUserSetParent. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8848#note_114181
188
Age (days ago)
188
Last active (days ago)
0 comments
1 participants
participants (1)
-
Attila Fidan (@atticf)