Skip to content

GdkWin32: Use primary monitor as fallback if popup layout does not intersect any

Luca Bacci requested to merge lb90/gtk:gdk-win32-fix-monitor-for-popup into main

Similar to what's done in the macOS backend: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.7.2/gdk/macos/gdkmacospopupsurface.c#L67-68.

Fixes a crash caused by attempting to dereference a NULL GdkMonitor*. See #5125

Edited by Luca Bacci

Merge request reports