aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-07 07:31:49 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-07 07:35:10 -0500
commit21ce20885a6a6e9e7178778513b09fea9354c603 (patch)
treeb7d763380f5b4df177ae0b8e0ca455e163bdad19 /sway/input
parentinput skeleton (diff)
downloadsway-21ce20885a6a6e9e7178778513b09fea9354c603.tar.gz
sway-21ce20885a6a6e9e7178778513b09fea9354c603.tar.zst
sway-21ce20885a6a6e9e7178778513b09fea9354c603.zip
rename input to input-manager
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/input-manager.c (renamed from sway/input/input.c)8
1 files changed, 5 insertions, 3 deletions
diff --git a/sway/input/input.c b/sway/input/input-manager.c
index 02b4995e..285a68b8 100644
--- a/sway/input/input.c
+++ b/sway/input/input-manager.c
@@ -6,15 +6,17 @@
6#include <string.h> 6#include <string.h>
7#include <libinput.h> 7#include <libinput.h>
8#include "sway/config.h" 8#include "sway/config.h"
9#include "sway/input.h" 9#include "sway/input-manager.h"
10#include "sway/server.h" 10#include "sway/server.h"
11#include "list.h" 11#include "list.h"
12#include "log.h" 12#include "log.h"
13 13
14struct input_config *current_input_config = NULL; 14struct input_config *current_input_config = NULL;
15 15
16struct sway_input *sway_input_create(struct sway_server *server) { 16struct sway_input_manager *sway_input_manager_create(
17 struct sway_input *input = calloc(1, sizeof(struct sway_input)); 17 struct sway_server *server) {
18 struct sway_input_manager *input =
19 calloc(1, sizeof(struct sway_input_manager));
18 if (!input) { 20 if (!input) {
19 return NULL; 21 return NULL;
20 } 22 }