aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaybar/bar.h')
-rw-r--r--include/swaybar/bar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index a3c511d9..697a48c2 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -9,6 +9,7 @@ struct bar {
struct config *config;
struct status_line *status;
list_t *outputs;
+ struct output *focused_output;
int ipc_event_socketfd;
int ipc_socketfd;
@@ -22,6 +23,7 @@ struct output {
list_t *workspaces;
char *name;
int idx;
+ bool focused;
};
struct workspace {