May 20, 2026
7:56 a.m.
On Wed May 20 02:21:20 2026 +0000, Zhiyi Zhang wrote:
And yes, setting IconicState when handling unmap is weird. Maybe they want to support window preview or something. I do not see this happening with a simple test, WM_STATE only changes to 0 when we request a window to be withdrawn, for instance when calling `ShowWindow( hwnd, SW_HIDE )`. I'm testing kwin 6.6.5, and tried both X11 and Xwayland session. I don't know under which circumstances this `unmap` function gets called but I don't think it's called when client requests the window to be withdrawn.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10949#note_140751