diff options
author | emersion <contact@emersion.fr> | 2018-10-20 08:42:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 08:42:56 +0200 |
commit | 75ea19c71b08e4b3dd1ad053944724fd91dc04bd (patch) | |
tree | 734b3ad6e6ef44d62ac6bbb1162a8bbb2ca28ae4 /sway/tree/output.c | |
parent | fe6aea1d02db7e172cafdaac61d612d0de2dc9d0 (diff) | |
parent | c006717910e5f30ca65645f701541dfa176c1392 (diff) |
Merge pull request #2870 from RyanDwyer/refactor-input-manager
Minor refactor of input manager
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 98041c47..04219b5f 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) { struct sway_workspace *ws = workspace_create(output, ws_name); // Set each seat's focus if not already set struct sway_seat *seat = NULL; - wl_list_for_each(seat, &input_manager->seats, link) { + wl_list_for_each(seat, &server.input->seats, link) { if (!seat->has_focus) { seat_set_focus_workspace(seat, ws); } @@ -98,7 +98,7 @@ void output_enable(struct sway_output *output, struct output_config *oc) { } wl_signal_init(&output->events.destroy); - input_manager_configure_xcursor(input_manager); + input_manager_configure_xcursor(); wl_signal_add(&wlr_output->events.mode, &output->mode); wl_signal_add(&wlr_output->events.transform, &output->transform); |