mutter/src
Olivier Fourdan ce808f6792 window: Really force update monitor on hot plugs
Commit 8d3e05305 ("window: Force update monitor on hot plugs") added the
flag `META_WINDOW_UPDATE_MONITOR_FLAGS_FORCE` passed to
`update_monitor()` from `update_for_monitors_changed()`.

However, `update_for_monitors_changed()` may choose to call another code
path to `move_between_rects()` and `meta_window_move_resize_internal()`
eventually.

As `meta_window_move_resize_internal()` does not use the "force" flag,
we may still end up in case where the window->monitor is left unchanged.

To avoid that problem, add a new `MetaMoveResizeFlags` that
`update_for_monitors_changed()` can use to force the monitor update from
`meta_window_move_resize_internal()`.

Fixes: 8d3e05305 ("window: Force update monitor on hot plugs")
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/189


(cherry picked from commit fa495286a1)

(cherry picked from commit 8eabfaaa8b)
2018-11-13 09:39:53 +00:00
..
backends renderer/native: Also wrap flip closures for EGLStreams 2018-10-23 18:33:53 +02:00
compositor compositor: Skip windows not visible to the compositor 2018-09-24 15:06:25 +02:00
core window: Really force update monitor on hot plugs 2018-11-13 09:39:53 +00:00
meta build: Introspect some more types 2018-05-07 22:06:02 +02:00
tests tests: Add "closed-transient" test 2018-07-30 20:29:03 +02:00
ui frames: Allow for unknown mouse buttons 2018-05-25 11:35:45 +02:00
wayland wayland/gtk-shell: Handle requests after toplevel was unmanaged 2018-10-04 08:08:19 +00:00
x11 core: Preserve focus across decoration changes 2018-09-24 16:15:11 +02:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile-tests.am tests: Add "closed-transient" test 2018-07-30 20:29:03 +02:00
Makefile.am build: Adjust to filename changes 2018-05-07 22:29:42 +02:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml DisplayConfig: Add 'legacy-ui-scaling-factor' property 2017-10-12 17:42:52 +08:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 16:03:56 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00