summaryrefslogtreecommitdiff
path: root/sway/desktop/wl_shell.c
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2017-12-12 08:29:37 -0500
committerTony Crisci <[email protected]>2017-12-12 08:29:37 -0500
commit163edc5a900fda58e006ed30e14ae10cc4aa13b3 (patch)
treea43e355091da4545bf9f16c63accb7d853170195 /sway/desktop/wl_shell.c
parent462a451328a1d6f0b17d34b431d6bf3dec87c1ba (diff)
sway input device
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r--sway/desktop/wl_shell.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c
index 3d3b1c44..df81d5be 100644
--- a/sway/desktop/wl_shell.c
+++ b/sway/desktop/wl_shell.c
@@ -129,8 +129,5 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
arrange_windows(cont->parent, -1, -1);
- for (int i = 0; i < server->input->seats->length; ++i) {
- struct sway_seat *seat = server->input->seats->items[i];
- sway_seat_set_focus(seat, cont);
- }
+ sway_input_manager_set_focus(input_manager, cont);
}