Files
pdfcraft/apps
2845f072fb fix(windows): keep the integrated title bar's window borderless (#8845, #8793, #9040) (#9297)
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 below
a black bar while the pointer keeps the client coordinates, and a click lands
above the control. PhotoCraft, VectorCraft, FigCraft and DesignCraft fixed the
same symptom by stripping WS_CAPTION/WS_BORDER and having Windows recalculate
the frame; winit puts them back on every flag change, so the guard runs once per
frame and only reads the style once they are gone. WS_THICKFRAME stays, so edge
resizing and snap keep working. Only the integrated (undecorated) title bar is
guarded; the system title bar is untouched.

Ports storytold/photocraft#2401. Not yet verified on affected hardware.

Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
2026-12-04 16:12:56 +01:00
..