From 73e65d526b5f22ba80fb314793970ae43dc28ff8 Mon Sep 17 00:00:00 2001 From: FelixKratz Date: Tue, 10 Aug 2021 12:31:49 +0200 Subject: [PATCH] sid and did swap fixed --- src/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bar.c b/src/bar.c index 4f6d6f8..aeb34ae 100644 --- a/src/bar.c +++ b/src/bar.c @@ -214,7 +214,7 @@ void bar_refresh(struct bar *bar) if(bar_item->associated_display > 0 && bar_item->associated_display != did) continue; - if(bar_item->type != BAR_COMPONENT && bar_item->associated_space > 0 && bar_item->associated_space != did) continue; + if(bar_item->type != BAR_COMPONENT && bar_item->associated_space > 0 && bar_item->associated_space != sid) continue; if (bar_item->position == BAR_POSITION_LEFT) { icon_position.x = bar_left_final_item_x + bar_item->icon_spacing_left;