mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
winit 0.30 gives an undecorated window WS_CAPTION | WS_BORDER; on some Windows systems the compositor still reserves that frame, so the content is drawn offset while the pointer isn't, and the cursor no longer points at what is under its tip. Strip the two styles once and again each frame (winit restores them on maximize/restore), as PhotoCraft does (storytold/photocraft#2401).