A tiling window manager

bar: Never show/redraw sticky text if barsticky is 0

Fixes #55

authored by

joveian and committed by
GitHub
16f0174b cd420776

+3 -4
+2 -2
bar.c
··· 297 297 int diff = 0, len, cmd = 0, skip = 0, xftx = 0, x; 298 298 int width, height; 299 299 300 - if (!force && (s->full_screen_win || !defaults.bar_sticky || 301 - bar_time_left())) 300 + if (!defaults.bar_sticky || (!force && (s->full_screen_win || 301 + bar_time_left()))) 302 302 return; 303 303 304 304 /*
+1 -2
screen.c
··· 676 676 } 677 677 } 678 678 679 - if (defaults.bar_sticky) 680 - redraw_sticky_bar_text(1); 679 + redraw_sticky_bar_text(1); 681 680 } 682 681 683 682 void