dont override drawing property for space component on space change event

This commit is contained in:
Felix Kratz 2023-01-02 01:19:29 +01:00
parent 4b3008f8dc
commit 1648fa867c

View file

@ -451,11 +451,9 @@ void bar_manager_update_space_components(struct bar_manager* bar_manager, bool f
uint32_t space_did = display_id_for_space(space);
if (space_did) {
bar_item->associated_display = 1 << (display_arrangement(space_did));
bar_item->drawing = true;
}
else {
bar_item->associated_display = 1 << 30;
bar_item->drawing = false;
}
}
for (int j = 0; j < bar_manager->bar_count; j++) {