aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/input-manager.h (renamed from include/sway/input.h)5
-rw-r--r--include/sway/server.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/include/sway/input.h b/include/sway/input-manager.h
index 21ed61c5..a3662f7b 100644
--- a/include/sway/input.h
+++ b/include/sway/input-manager.h
@@ -5,7 +5,7 @@
#include "config.h"
#include "list.h"
-struct sway_input {
+struct sway_input_manager {
list_t *input_devices;
};
@@ -13,6 +13,7 @@ struct input_config *new_input_config(const char* identifier);
char* libinput_dev_unique_id(struct libinput_device *dev);
-struct sway_input *sway_input_create(struct sway_server *server);
+struct sway_input_manager *sway_input_manager_create(
+ struct sway_server *server);
#endif
diff --git a/include/sway/server.h b/include/sway/server.h
index 3fa72e84..76a05476 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -22,7 +22,7 @@ struct sway_server {
struct wlr_compositor *compositor;
struct wlr_data_device_manager *data_device_manager;
- struct sway_input *input;
+ struct sway_input_manager *input;
struct wl_listener output_add;
struct wl_listener output_remove;