From f8aa8cf5bb901b6f056c6efabf0b48902a837a0d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 11 Aug 2013 15:45:48 +0200 Subject: [PATCH] Use enum value for monitor in MoveToCenter --- openbox/actions/moveresizeto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2