bugfix: Skip inactive outputs on redraw (thx sECuRE)

This commit is contained in:
Axel Wagner 2011-03-19 22:30:59 +01:00
parent aaf60c6321
commit a847454a42

View File

@ -951,6 +951,9 @@ void draw_bars() {
void redraw_bars() {
i3_output *outputs_walk;
SLIST_FOREACH(outputs_walk, outputs, slist) {
if (!outputs_walk->active) {
continue;
}
xcb_copy_area(xcb_connection,
outputs_walk->buffer,
outputs_walk->bar,