mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-05 18:19:57 +00:00
winit 0.30 gives an undecorated window WS_CAPTION and WS_BORDER; on some systems the compositor reserves that frame, so the content is drawn offset (black bars at the top and left) while the pointer keeps the client coordinates. A per-frame guard strips the styles again after every winit flag change and keeps a maximized window clear of the taskbar. Fixes #1295.