Don't draw on backbuffer, when hiding (thx sECuRE)

This commit is contained in:
Axel Wagner 2011-03-19 23:27:50 +01:00
parent 1b2002e1c8
commit 682458f4d7
1 changed files with 5 additions and 0 deletions

View File

@ -220,6 +220,8 @@ void unhide_bars() {
return;
}
draw_bars();
i3_output *walk;
xcb_void_cookie_t cookie;
uint32_t mask;
@ -882,6 +884,9 @@ void reconfig_windows() {
*
*/
void draw_bars() {
if (config.hide_on_modifier && !mod_pressed) {
return;
}
DLOG("Drawing Bars...\n");
int i = 0;