From: Axel Wagner Date: Mon, 21 Mar 2011 16:29:11 +0000 (+0100) Subject: Revert "Don't draw on backbuffer, when hiding (thx sECuRE)" X-Git-Tag: 4.0.1~7^2~3^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26993574f5599365dd70cdd81fd6d4adcfc931e5;p=i3%2Fi3 Revert "Don't draw on backbuffer, when hiding (thx sECuRE)" This reverts commit f51ba2d7ecf3f560c8ce4d3ab8419ecf6265839c. This commit introduced a regression, which prevented i3bar to be redrawn at all in some circumstances. It will later be reintroduced in a bigger refactoring of event-dependencies --- diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 87d0c85b..2da2e6f7 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -225,8 +225,6 @@ void unhide_bars() { return; } - draw_bars(); - i3_output *walk; xcb_void_cookie_t cookie; uint32_t mask; @@ -891,9 +889,6 @@ void reconfig_windows() { * */ void draw_bars() { - if (config.hide_on_modifier && !mod_pressed) { - return; - } DLOG("Drawing Bars...\n"); int i = 0;