summaryrefslogtreecommitdiff
path: root/src/place.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/place.c')
-rw-r--r--src/place.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/place.c b/src/place.c
index ef0bf046..d1357fab 100644
--- a/src/place.c
+++ b/src/place.c
@@ -899,7 +899,7 @@ meta_window_place (MetaWindow *window,
if (placed_on == -1)
{
find_next_cascade (window, fgeom, windows, x, y, &x, &y);
- placed_on = 0;
+ placed_on = window->screen->last_xinerama_index;
}
/* Maximize windows if they are too big for their work area (bit of