From c4822b713fa547d425096e48ef8002c97aa52b81 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sat, 26 Nov 2016 17:26:35 +0100 Subject: [PATCH] fix(renderer): Remove superflous clear --- src/components/renderer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/renderer.cpp b/src/components/renderer.cpp index 3fc72c7d..963f69d0 100644 --- a/src/components/renderer.cpp +++ b/src/components/renderer.cpp @@ -206,9 +206,6 @@ void renderer::flush(bool clear) { right.width += m_bar.borders.at(edge::RIGHT).size; right.height += m_bar.size.h; - m_log.trace("renderer: clear window contents"); - m_connection.clear_area(false, m_window, 0, 0, m_bar.size.w, m_bar.size.h); - m_log.trace("renderer: copy pixmap (clear=%i)", clear); m_connection.copy_area(m_pixmap, m_window, m_gcontexts.at(gc::FG), 0, 0, r.x, r.y, r.width, r.height);