change layer for mode invisible to nullopt

This commit is contained in:
wmlhwl
2024-05-19 13:53:09 +02:00
parent 8ad7c75d79
commit b61ea62732
2 changed files with 9 additions and 8 deletions

View File

@ -8,6 +8,7 @@
#include <gtkmm/window.h>
#include <json/json.h>
#include <optional>
#include <memory>
#include <vector>
@ -41,7 +42,7 @@ struct bar_margins {
};
struct bar_mode {
bar_layer layer;
std::optional<bar_layer> layer;
bool exclusive;
bool passthrough;
bool visible;