]> Dogcows Code - chaz/openbox/commitdiff
Use enum value for monitor in MoveToCenter
authorMikael Magnusson <mikachu@gmail.com>
Sun, 11 Aug 2013 13:45:48 +0000 (15:45 +0200)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 17:39:27 +0000 (13:39 -0400)
openbox/actions/moveresizeto.c

index f35126b07d9a6c858cd5001601abc3857b38deb1..95de0e98a5ede7bc7209722e6797bb56af72ddc3 100644 (file)
@@ -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;
This page took 0.022767 seconds and 4 git commands to generate.