]> git.tdb.fi Git - geometrycompositor.git/commitdiff
Fix uninitialized variables
authorMikko Rasa <tdb@tdb.fi>
Fri, 11 Dec 2015 16:47:17 +0000 (18:47 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 11 Dec 2015 16:47:17 +0000 (18:47 +0200)
source/main.c

index ae9bc4ffabb629c9c1746e98925cfb5f5c55b4fe..15486e61c83f3dfef06c88816d1f4db2ade4985b 100644 (file)
@@ -375,6 +375,8 @@ int initialize_screen(Compositor *compositor, unsigned number)
 
        XFree(children);
 
+       screen->dirty = 1;
+
        return 1;
 }
 
@@ -430,6 +432,8 @@ int initialize_compositor(Compositor *compositor)
                if(!initialize_screen(compositor, i))
                        return 0;
 
+       compositor->dirty = 1;
+
        return 1;
 }