aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-09-24 20:15:40 +0100
committerIan Fan <ianfan0@gmail.com>2018-09-28 13:54:58 +0100
commitbcd2a8fe124ce6adb7d23ba0fa39287744947e29 (patch)
treef798213ec7cd307ed5892acfc63c8f04bcb6a039
parent98576b9ddab61998f92ada497e0d8affa0cb1205 (diff)
downloadsway-bcd2a8fe124ce6adb7d23ba0fa39287744947e29.tar.xz
swaybar: remove unused focused_output property
-rw-r--r--include/swaybar/bar.h1
-rw-r--r--swaybar/ipc.c1
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 {
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 2b50528d..7c53a44f 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);