summaryrefslogtreecommitdiff
path: root/openbox/actions
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions')
-rw-r--r--openbox/actions/moveresizeto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/actions/moveresizeto.c b/openbox/actions/moveresizeto.c
index f35126b0..95de0e98 100644
--- a/openbox/actions/moveresizeto.c
+++ b/openbox/actions/moveresizeto.c
@@ -212,7 +212,7 @@ static gpointer setup_center_func(xmlNodePtr node)
o->y.pos = G_MININT;
o->w = G_MININT;
o->h = G_MININT;
- o->monitor = -1;
+ o->monitor = CURRENT_MONITOR;
o->x.center = TRUE;
o->y.center = TRUE;
return o;