Skip to content

Commit

Permalink
fix bar being unhidden after wake if it was hidden (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKratz committed Jan 27, 2024
1 parent a16906a commit 6e6eefb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bar_manager.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "bar_manager.h"
#include "bar.h"
#include "bar_item.h"
#include "event.h"
#include "misc/env_vars.h"
Expand Down Expand Up @@ -594,6 +595,9 @@ void bar_manager_begin(struct bar_manager* bar_manager) {
uint32_t did = display_arrangement_display_id(index);
bar_manager->bars[bar_index] = bar_create(did);
bar_manager->bars[bar_index]->adid = index;
if (bar_manager->any_bar_hidden)
bar_set_hidden(bar_manager->bars[bar_index], true);

bar_index++;
}
}
Expand Down

0 comments on commit 6e6eefb

Please sign in to comment.