aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-20 11:56:39 -0500
committerGitHub <noreply@github.com>2017-12-20 11:56:39 -0500
commit373def44468e0c919031a6ffe3049f91680e05ca (patch)
treee40dfdcc9292a71fcc2160bc5d643a66996664dc /sway/server.c
parenta51e74beb91a98181d6bc69137d377cd49e72d1f (diff)
parent63f7fb95172a72436698a1562b4f7ea1e9100a7e (diff)
Merge pull request #1505 from acrisci/feature/input
input management and seat
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c
index 024d8429..32c8f03c 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -11,6 +11,7 @@
// TODO WLR: make Xwayland optional
#include <wlr/xwayland.h>
#include "sway/server.h"
+#include "sway/input/input-manager.h"
#include "log.h"
bool server_init(struct sway_server *server) {
@@ -58,6 +59,9 @@ bool server_init(struct sway_server *server) {
wlr_backend_destroy(server->backend);
return false;
}
+
+ input_manager = sway_input_manager_create(server);
+
return true;
}