summaryrefslogtreecommitdiffstats
path: root/sway/tree/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r--sway/tree/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index c3176325..524a64ab 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -83,7 +83,7 @@ void output_enable(struct sway_output *output, struct output_config *oc) {
83 struct sway_workspace *ws = workspace_create(output, ws_name); 83 struct sway_workspace *ws = workspace_create(output, ws_name);
84 // Set each seat's focus if not already set 84 // Set each seat's focus if not already set
85 struct sway_seat *seat = NULL; 85 struct sway_seat *seat = NULL;
86 wl_list_for_each(seat, &input_manager->seats, link) { 86 wl_list_for_each(seat, &server.input->seats, link) {
87 if (!seat->has_focus) { 87 if (!seat->has_focus) {
88 seat_set_focus_workspace(seat, ws); 88 seat_set_focus_workspace(seat, ws);
89 } 89 }
@@ -97,7 +97,7 @@ void output_enable(struct sway_output *output, struct output_config *oc) {
97 } 97 }
98 wl_signal_init(&output->events.destroy); 98 wl_signal_init(&output->events.destroy);
99 99
100 input_manager_configure_xcursor(input_manager); 100 input_manager_configure_xcursor();
101 101
102 wl_signal_add(&wlr_output->events.mode, &output->mode); 102 wl_signal_add(&wlr_output->events.mode, &output->mode);
103 wl_signal_add(&wlr_output->events.transform, &output->transform); 103 wl_signal_add(&wlr_output->events.transform, &output->transform);