From: Mikael Magnusson Date: Sun, 11 Aug 2013 13:45:48 +0000 (+0200) Subject: Use enum value for monitor in MoveToCenter X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=f8aa8cf5bb901b6f056c6efabf0b48902a837a0d;p=chaz%2Fopenbox Use enum value for monitor in MoveToCenter --- 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;