From 26993574f5599365dd70cdd81fd6d4adcfc931e5 Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Mon, 21 Mar 2011 17:29:11 +0100 Subject: [PATCH] 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 --- i3bar/src/xcb.c | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.39.5