From ce6b94be7d334af14fac9f997ab66ff9a9aeecc5 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 11 Dec 2015 18:47:17 +0200 Subject: [PATCH] Fix uninitialized variables --- source/main.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.45.2