swaybar: remove unused focused_output property

master
Ian Fan 6 years ago
parent 98576b9dda
commit bcd2a8fe12

@ -54,7 +54,6 @@ struct swaybar {
struct wl_seat *seat; struct wl_seat *seat;
struct swaybar_config *config; struct swaybar_config *config;
struct swaybar_output *focused_output;
struct swaybar_pointer pointer; struct swaybar_pointer pointer;
struct status_line *status; struct status_line *status;

@ -237,7 +237,6 @@ static bool ipc_parse_config(
} }
void ipc_get_workspaces(struct swaybar *bar) { void ipc_get_workspaces(struct swaybar *bar) {
bar->focused_output = NULL;
struct swaybar_output *output; struct swaybar_output *output;
wl_list_for_each(output, &bar->outputs, link) { wl_list_for_each(output, &bar->outputs, link) {
free_workspaces(&output->workspaces); free_workspaces(&output->workspaces);

Loading…
Cancel
Save