diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 20a51809c..209920142 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h @@ -54,7 +54,6 @@ struct swaybar { struct wl_seat *seat; struct swaybar_config *config; - struct swaybar_output *focused_output; struct swaybar_pointer pointer; struct status_line *status; diff --git a/swaybar/ipc.c b/swaybar/ipc.c index 2b50528df..7c53a44f0 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -237,7 +237,6 @@ static bool ipc_parse_config( } void ipc_get_workspaces(struct swaybar *bar) { - bar->focused_output = NULL; struct swaybar_output *output; wl_list_for_each(output, &bar->outputs, link) { free_workspaces(&output->workspaces);