mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-02 18:09:19 +00:00
cc3c70d4be
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.