summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 62b2df810..b85db6ee3 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3781,6 +3781,9 @@ static gboolean
maybe_move_attached_window (MetaWindow *window,
void *data)
{
+ if (window->hidden)
+ return FALSE;
+
if (meta_window_is_attached_dialog (window) ||
meta_window_get_placement_rule (window))
meta_window_reposition (window);