mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 08:24:09 +00:00
window: Don't move the desktop window after monitor hotplug
If someone plugs in a new monitor, while all their regular windows should move in absolute X coordinates to ensure they stay on the same monitor, the desktop window should stay put. https://bugzilla.gnome.org/show_bug.cgi?id=681159
This commit is contained in:
parent
c02e1b6f56
commit
7a2c019514
@ -4454,6 +4454,9 @@ meta_window_update_for_monitors_changed (MetaWindow *window)
|
|||||||
const MetaMonitorInfo *old, *new;
|
const MetaMonitorInfo *old, *new;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (window->type == META_WINDOW_DESKTOP)
|
||||||
|
return;
|
||||||
|
|
||||||
old = window->monitor;
|
old = window->monitor;
|
||||||
|
|
||||||
/* Start on primary */
|
/* Start on primary */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user