GdkWin32: Position popups on the primary monitor if outside of the visible screen...
authorLuca Bacci <luca.bacci982@gmail.com>
Tue, 23 Aug 2022 12:54:01 +0000 (14:54 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Tue, 23 Aug 2022 12:54:01 +0000 (14:54 +0200)
commitd125fcd35ac2a547e7ad698aa8841927c0ef7366
tree9138fc19ef45b5bc5b7c2c3ecdeb3ac796a730be
parente68925a932ad3d5c1228aaeb6ed89dbe2e30225d
GdkWin32: Position popups on the primary monitor if outside of the visible screen area

Fixes a crash caused by attempting to dereference a NULL GdkMonitor*
in GdkWin32.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/5125
gdk/win32/gdksurface-win32.c