diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-24 20:15:40 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-28 13:54:58 +0100 |
commit | bcd2a8fe124ce6adb7d23ba0fa39287744947e29 (patch) | |
tree | f798213ec7cd307ed5892acfc63c8f04bcb6a039 | |
parent | swaybar: fix setting binding mode indicator (diff) | |
download | sway-bcd2a8fe124ce6adb7d23ba0fa39287744947e29.tar.gz sway-bcd2a8fe124ce6adb7d23ba0fa39287744947e29.tar.zst sway-bcd2a8fe124ce6adb7d23ba0fa39287744947e29.zip |
swaybar: remove unused focused_output property
-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); |