aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/input-manager.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-02 15:24:25 -0400
committerGitHub <noreply@github.com>2018-04-02 15:24:25 -0400
commit0c0cc79282b5ce29616893977aca629f90521988 (patch)
treee06d46f222487c4d266c09892d1907ce80b69a66 /include/sway/input/input-manager.h
parent4134407fa967c7f45cd09554b74a15f28974fca5 (diff)
parentc7a6524954578977dd8f806713a258a0947a4951 (diff)
Merge pull request #1699 from acrisci/seat-fixes
Seat fixes and cleanup
Diffstat (limited to 'include/sway/input/input-manager.h')
-rw-r--r--include/sway/input/input-manager.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index c6c73dba..8e39a4a7 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -14,7 +14,6 @@ extern struct sway_input_manager *input_manager;
struct sway_input_device {
char *identifier;
struct wlr_input_device *wlr_device;
- struct input_config *config;
struct wl_list link;
struct wl_listener device_destroy;
};
@@ -27,30 +26,34 @@ struct sway_input_manager {
struct wl_listener new_input;
};
-struct sway_input_manager *sway_input_manager_create(
- struct sway_server *server);
+struct sway_input_manager *input_manager_create(struct sway_server *server);
-bool sway_input_manager_has_focus(struct sway_input_manager *input,
+bool input_manager_has_focus(struct sway_input_manager *input,
struct sway_container *container);
-void sway_input_manager_set_focus(struct sway_input_manager *input,
+void input_manager_set_focus(struct sway_input_manager *input,
struct sway_container *container);
-void sway_input_manager_configure_xcursor(struct sway_input_manager *input);
+void input_manager_configure_xcursor(struct sway_input_manager *input);
-void sway_input_manager_apply_input_config(struct sway_input_manager *input,
+void input_manager_apply_input_config(struct sway_input_manager *input,
struct input_config *input_config);
-void sway_input_manager_apply_seat_config(struct sway_input_manager *input,
+void input_manager_apply_seat_config(struct sway_input_manager *input,
struct seat_config *seat_config);
-struct sway_seat *sway_input_manager_get_default_seat(
+struct sway_seat *input_manager_get_default_seat(
struct sway_input_manager *input);
struct sway_seat *input_manager_get_seat(struct sway_input_manager *input,
const char *seat_name);
-/** Gets the last seat the user interacted with */
+/**
+ * Gets the last seat the user interacted with
+ */
struct sway_seat *input_manager_current_seat(struct sway_input_manager *input);
+struct input_config *input_device_get_config(struct sway_input_device *device);
+
+
#endif