GNOME Bugzilla – Bug 779001
meta_window_get_work_area_for_logical_monitor: assertion failed: (logical_monitor)
Last modified: 2017-03-06 14:42:45 UTC
Description: The recent addition of logical monitors breaks mutter standalone (nested). This makes coding on mutter a tad more challenging (as gnome-shell won't work nested either anyway) How reproducible: Always Steps to reproduce: 1. mutter --wayland --nested 2. DISPLAY=:1 xterm& Actual result: mutter aborts Expected results: mutter survives Additional info:
+ Trace 237161
Created attachment 347302 [details] [review] backends/x11: Fallback to the first logical monitor when out of focus When running nested, the pointer can be outside of the stage, meaning outside of any logical monitor. Handle this when getting the current logical monitor by falling back to the first logical monitor when the pointer coordinate is outside of any logical monitor.
Review of attachment 347302 [details] [review]: Makes sense to me
Attachment 347302 [details] pushed as 4e4b24e - backends/x11: Fallback to the first logical monitor when out of focus