bugfix: Skip inactive outputs on redraw (thx sECuRE)
This commit is contained in:
parent
fea94757cd
commit
9f5b715bd6
|
@ -881,6 +881,9 @@ void draw_bars() {
|
||||||
void redraw_bars() {
|
void redraw_bars() {
|
||||||
i3_output *outputs_walk;
|
i3_output *outputs_walk;
|
||||||
SLIST_FOREACH(outputs_walk, outputs, slist) {
|
SLIST_FOREACH(outputs_walk, outputs, slist) {
|
||||||
|
if (!outputs_walk->active) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
xcb_copy_area(xcb_connection,
|
xcb_copy_area(xcb_connection,
|
||||||
outputs_walk->buffer,
|
outputs_walk->buffer,
|
||||||
outputs_walk->bar,
|
outputs_walk->bar,
|
||||||
|
|
Loading…
Reference in New Issue