X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcontrol.c;h=ca4f6e7a67a62b70f0ff87de1817ba3b1b88b820;hb=574302ed0fced0d57233c4517d414b4c3e875d7d;hp=ae47c9e34083c0f9d98173263f850eb1c39a992f;hpb=e2a0d9f8c960209bc03a24e04323603b3f231032;p=geometrycompositor.git diff --git a/source/control.c b/source/control.c index ae47c9e..ca4f6e7 100644 --- a/source/control.c +++ b/source/control.c @@ -47,7 +47,7 @@ GeometryCorrection *get_corrections(Display *display) return NULL; } - ncorrections = 0; + ncorrections = (names_length>0); for(i=0; i