window/xwayland: Handle _NET_WM_FULLSCREEN_MONITORS for XRandR emulation
Handle a specific case of _NET_WM_FULLSCREEN_MONITORS used by GLFW to make XRandR emulation work with it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2725>
This commit is contained in:
parent
943fcc7c1a
commit
dbf3584a9b
@ -467,6 +467,11 @@ setup_constraint_info (MetaBackend *backend,
|
||||
meta_rectangle_union (&info->entire_monitor,
|
||||
&window->fullscreen_monitors.right->rect,
|
||||
&info->entire_monitor);
|
||||
if (window->fullscreen_monitors.top == logical_monitor &&
|
||||
window->fullscreen_monitors.bottom == logical_monitor &&
|
||||
window->fullscreen_monitors.left == logical_monitor &&
|
||||
window->fullscreen_monitors.right == logical_monitor)
|
||||
meta_window_adjust_fullscreen_monitor_rect (window, &info->entire_monitor);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user