Use enum value for monitor in MoveToCenter

This commit is contained in:
Mikael Magnusson 2013-08-11 15:45:48 +02:00 committed by Dana Jansens
parent db1c0809ef
commit f8aa8cf5bb

View 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;