From 6e35bcd183d826c237043d58de5da331d9ca2663 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Tue, 22 Nov 2016 20:52:06 +0100 Subject: [PATCH] fix(bar): Draw empty window at launch Ref #179 --- src/components/bar.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/bar.cpp b/src/components/bar.cpp index e550ec14..7d358a83 100644 --- a/src/components/bar.cpp +++ b/src/components/bar.cpp @@ -204,6 +204,10 @@ void bar::bootstrap(bool nodraw) { m_connection.map_window(m_window); m_connection.flush(); + + // Render empty bar + m_renderer->begin(); + m_renderer->end(); } /**