win32-window-custom-titlebar icon indicating copy to clipboard operation
win32-window-custom-titlebar copied to clipboard

incorrect metrics when maximized on win11

Open kaiserschmarrn0 opened this issue 2 years ago • 1 comments

image

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.

kaiserschmarrn0 avatar Jan 01 '23 15:01 kaiserschmarrn0

image

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.

kaiserschmarrn0 avatar Jan 01 '23 15:01 kaiserschmarrn0