aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/server.c b/sway/server.c
index 1fd7b7fa..23d42028 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -153,7 +153,9 @@ bool server_init(struct sway_server *server) {
server->dirty_nodes = create_list();
server->transactions = create_list();
- input_manager = input_manager_create(server);
+ server->input = input_manager_create(server);
+ input_manager_get_default_seat(); // create seat0
+
return true;
}