diff options
-rw-r--r-- | include/swaybar/bar.h | 1 | ||||
-rw-r--r-- | swaybar/ipc.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 20a51809..20992014 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h | |||
@@ -54,7 +54,6 @@ struct swaybar { | |||
54 | struct wl_seat *seat; | 54 | struct wl_seat *seat; |
55 | 55 | ||
56 | struct swaybar_config *config; | 56 | struct swaybar_config *config; |
57 | struct swaybar_output *focused_output; | ||
58 | struct swaybar_pointer pointer; | 57 | struct swaybar_pointer pointer; |
59 | struct status_line *status; | 58 | struct status_line *status; |
60 | 59 | ||
diff --git a/swaybar/ipc.c b/swaybar/ipc.c index 2b50528d..7c53a44f 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c | |||
@@ -237,7 +237,6 @@ static bool ipc_parse_config( | |||
237 | } | 237 | } |
238 | 238 | ||
239 | void ipc_get_workspaces(struct swaybar *bar) { | 239 | void ipc_get_workspaces(struct swaybar *bar) { |
240 | bar->focused_output = NULL; | ||
241 | struct swaybar_output *output; | 240 | struct swaybar_output *output; |
242 | wl_list_for_each(output, &bar->outputs, link) { | 241 | wl_list_for_each(output, &bar->outputs, link) { |
243 | free_workspaces(&output->workspaces); | 242 | free_workspaces(&output->workspaces); |