mutter/src/core
Olivier Fourdan fa495286a1 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
2018-11-13 10:10:30 +01:00
..
bell.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
bell.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
boxes-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
boxes.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
constraints.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
constraints.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
core.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
core.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
delete.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
display-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
display.c Fix some of introspection comment issues 2018-11-06 17:17:36 +01:00
edge-resistance.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
edge-resistance.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
events.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
events.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
frame.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
frame.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
keybindings-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
keybindings.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
main-private.h Add --no-x11 flag so mutter wayland can be started without X11 2018-07-06 19:47:17 +02:00
main.c x11: Require xrandr 1.5 at build time 2018-11-06 17:17:36 +01:00
meta-accel-parse.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-accel-parse.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-border.c MetaBorder: Use float constants and functions instead of double variants 2016-02-16 19:02:48 +08:00
meta-border.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-close-dialog-default-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-close-dialog-default.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-close-dialog.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-fraction.c Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-fraction.h Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-gesture-tracker-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-gesture-tracker.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-inhibit-shortcuts-dialog-default-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-inhibit-shortcuts-dialog-default.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-inhibit-shortcuts-dialog.c core: add MetaInhibitShortcutsDialog 2017-08-02 11:58:55 +02:00
meta-workspace-manager-private.h Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
meta-workspace-manager.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
mutter.c plugin: Rename the .so file from plugin.so to libplugin.so 2018-11-06 17:17:36 +01:00
place.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
place.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
prefs.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
restart-helper.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
restart.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
stack-tracker.c Fix warnings when building without verbose mode 2018-11-06 17:17:36 +01:00
stack-tracker.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
stack.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
stack.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
startup-notification-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
startup-notification.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
util-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
util.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
window-private.h window: Really force update monitor on hot plugs 2018-11-13 10:10:30 +01:00
window.c window: Really force update monitor on hot plugs 2018-11-13 10:10:30 +01:00
workspace-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
workspace.c Clean up include macros mess 2018-11-06 17:17:36 +01:00