Full screen GTK4 windows do not adjust to larger monitors if moved on Windows
Steps to reproduce
- Have two monitors, one of which has a higher resolution than the other.
- Open a full screen window on the smaller monitor
- Move the window to another monitor (win + shift + arrow keys)
Current behavior
The window takes up a rectangle the same resolution as the smaller monitor in the upper left corner of the larger monitor. Moving the window back and forth causes even stranger behaviour - I imagine this depends on how the monitors are laid out.
Expected outcome
The window should adjust itself to the resolution of the monitor it has been moved to.
Version information
GTK 4.6.2, Windows 10 (msvc), using vcpkg
Additional information
This might be related to #5088
Dummy application that only opens a fullscreen window gtk4.c