summaryrefslogtreecommitdiffstats
path: root/include/sway/input
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 14:31:10 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 14:31:10 -0400
commit83d09cf5945ba10a703dc5cc977a6d2814f0fd64 (patch)
treeda290b9033e91b295fd01fcf84ca4e74c9a37c1a /include/sway/input
parentmove tree includes to their own directory (diff)
downloadsway-83d09cf5945ba10a703dc5cc977a6d2814f0fd64.tar.gz
sway-83d09cf5945ba10a703dc5cc977a6d2814f0fd64.tar.zst
sway-83d09cf5945ba10a703dc5cc977a6d2814f0fd64.zip
remove swayc_t typedef
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/input-manager.h4
-rw-r--r--include/sway/input/seat.h11
2 files changed, 8 insertions, 7 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index eab7dc90..c6c73dba 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -31,10 +31,10 @@ struct sway_input_manager *sway_input_manager_create(
31 struct sway_server *server); 31 struct sway_server *server);
32 32
33bool sway_input_manager_has_focus(struct sway_input_manager *input, 33bool sway_input_manager_has_focus(struct sway_input_manager *input,
34 swayc_t *container); 34 struct sway_container *container);
35 35
36void sway_input_manager_set_focus(struct sway_input_manager *input, 36void sway_input_manager_set_focus(struct sway_input_manager *input,
37 swayc_t *container); 37 struct sway_container *container);
38 38
39void sway_input_manager_configure_xcursor(struct sway_input_manager *input); 39void sway_input_manager_configure_xcursor(struct sway_input_manager *input);
40 40
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 1d55bec7..e43e6fd4 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -14,7 +14,7 @@ struct sway_seat_device {
14 14
15struct sway_seat_container { 15struct sway_seat_container {
16 struct sway_seat *seat; 16 struct sway_seat *seat;
17 swayc_t *container; 17 struct sway_container *container;
18 18
19 struct wl_list link; // sway_seat::focus_stack 19 struct wl_list link; // sway_seat::focus_stack
20 20
@@ -54,9 +54,9 @@ void sway_seat_remove_device(struct sway_seat *seat,
54 54
55void sway_seat_configure_xcursor(struct sway_seat *seat); 55void sway_seat_configure_xcursor(struct sway_seat *seat);
56 56
57void sway_seat_set_focus(struct sway_seat *seat, swayc_t *container); 57void sway_seat_set_focus(struct sway_seat *seat, struct sway_container *container);
58 58
59swayc_t *sway_seat_get_focus(struct sway_seat *seat); 59struct sway_container *sway_seat_get_focus(struct sway_seat *seat);
60 60
61/** 61/**
62 * Return the last container to be focused for the seat (or the most recently 62 * Return the last container to be focused for the seat (or the most recently
@@ -67,9 +67,10 @@ swayc_t *sway_seat_get_focus(struct sway_seat *seat);
67 * is destroyed, or focus moves to a container with children and we need to 67 * is destroyed, or focus moves to a container with children and we need to
68 * descend into the next leaf in focus order. 68 * descend into the next leaf in focus order.
69 */ 69 */
70swayc_t *sway_seat_get_focus_inactive(struct sway_seat *seat, swayc_t *container); 70struct sway_container *sway_seat_get_focus_inactive(struct sway_seat *seat,
71 struct sway_container *container);
71 72
72swayc_t *sway_seat_get_focus_by_type(struct sway_seat *seat, 73struct sway_container *sway_seat_get_focus_by_type(struct sway_seat *seat,
73 enum swayc_types type); 74 enum swayc_types type);
74 75
75void sway_seat_set_config(struct sway_seat *seat, struct seat_config *seat_config); 76void sway_seat_set_config(struct sway_seat *seat, struct seat_config *seat_config);