win32-window-custom-titlebar
win32-window-custom-titlebar copied to clipboard
incorrect metrics when maximized on win11

seems the controls / titlebar are too close to the top edge of the monitor when maximized. this is on win11, i'm not sure if this is also how it looks on win10.

on my system, it looks right when requested_client_rect->top is adjusted by +frame_y+padding rather than just +padding. maybe this has changed since windows 10.