mirror of
https://github.com/HeyPuter/gex.git
synced 2026-11-13 20:12:43 -10:00
DWM, not the window, draws a composited window's frame on Windows 7, from the DWMWindow parts of aero.msstyles: tools/aero/extract-dwm-frame.py pulls that atlas and its parts' rectangles and nine-grid margins out of a Windows 7 aero.msstyles, and a page that has them serves them at /gex/aero/ (they are Microsoft's, so the page gets them from the user's own copy of Windows, as the shell's DLLs; gex carries only the tool). gex_glass_v1 gains set_frame: whether the compositor draws the frame, the window's active and maximized state, and the caption buttons where the client's window system put them (it hit tests them). The record carries it, now 72 words. The compositor draws the frame pieces over the glass bands, the title in black on its glow, and the buttons and their glyphs in their states; without the artwork, glass has no frame drawn on it. web/test/glass.html shows a framed window. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_f0a06c8a084b4b2ca4f7f291183d507d