From: Mikko Rasa Date: Fri, 11 Dec 2015 16:47:17 +0000 (+0200) Subject: Fix uninitialized variables X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ce6b94be7d334af14fac9f997ab66ff9a9aeecc5;p=geometrycompositor.git Fix uninitialized variables --- diff --git a/source/main.c b/source/main.c index ae9bc4f..15486e6 100644 --- a/source/main.c +++ b/source/main.c @@ -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; }