mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-23 03:43:02 +00:00
dont override drawing property for space component on space change event
This commit is contained in:
parent
4b3008f8dc
commit
1648fa867c
1 changed files with 0 additions and 2 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue