6 Jun
2025
6 Jun
'25
12:01 p.m.
On Windows, applications can disable titlebar by extending the client rect to a bigger rect which will cover the area of the titlebar from WM_NCCALCSIZE: https://learn.microsoft.com/en-us/windows/win32/dwm/customframe#removing-the... Our current x11 and Mac driver doesn't handle this case. Attached is a test case for reproducing the issue. [hide_caption.c](/uploads/46a725e32569a6a0a929a0f183cf9ed8/hide_caption.c) -- v2: winemac.drv: Disable native titlebar while lacking enough space for SM_CYCAPTION. winex11.drv: Disable native titlebar while lacking enough space for SM_CYCAPTION. https://gitlab.winehq.org/wine/wine/-/merge_requests/7024