diff --git a/src/core/window-private.h b/src/core/window-private.h index bed2fc7f6..8552829b2 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -125,6 +125,7 @@ typedef enum _MetaWindowUpdateMonitorFlags { META_WINDOW_UPDATE_MONITOR_FLAGS_NONE = 0, META_WINDOW_UPDATE_MONITOR_FLAGS_USER_OP = 1 << 0, + META_WINDOW_UPDATE_MONITOR_FLAGS_FORCE = 1 << 1, } MetaWindowUpdateMonitorFlags; typedef struct _MetaPlacementRule diff --git a/src/core/window.c b/src/core/window.c index ad4059704..07f826bb5 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -3803,7 +3803,7 @@ meta_window_update_for_monitors_changed (MetaWindow *window) if (window->override_redirect || window->type == META_WINDOW_DESKTOP) { meta_window_update_monitor (window, - META_WINDOW_UPDATE_MONITOR_FLAGS_NONE); + META_WINDOW_UPDATE_MONITOR_FLAGS_FORCE); return; } @@ -3839,7 +3839,7 @@ meta_window_update_for_monitors_changed (MetaWindow *window) else { meta_window_update_monitor (window, - META_WINDOW_UPDATE_MONITOR_FLAGS_NONE); + META_WINDOW_UPDATE_MONITOR_FLAGS_FORCE); } }