mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
313c488ec3
As described in https://devblogs.microsoft.com/oldnewthing/20150304-00/?p=44543 Windows extends maximized windows outside the visible display. This is not appropriate for custom decorated windows, so this change implements a workaround in the handling of WM_NCCALCSIZE. While here, replace the deltas field from window state to fix issues when switching between decoration modes. Signed-off-by: Elias Naur <mail@eliasnaur.com>