aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 08:45:37 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 08:45:37 -0400
commite677c5b204971af00d71f9a50a89206d01b46a36 (patch)
treefa94a13e95119bdd3083fb7839889f2ce3a0fca0 /include/sway/input/seat.h
parentMerge pull request #1684 from swaywm/follow-warp (diff)
downloadsway-e677c5b204971af00d71f9a50a89206d01b46a36.tar.gz
sway-e677c5b204971af00d71f9a50a89206d01b46a36.tar.zst
sway-e677c5b204971af00d71f9a50a89206d01b46a36.zip
rename seat functions
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 31210a5a..38a6379c 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -38,28 +38,28 @@ struct sway_seat {
38 struct wl_list link; // input_manager::seats 38 struct wl_list link; // input_manager::seats
39}; 39};
40 40
41struct sway_seat *sway_seat_create(struct sway_input_manager *input, 41struct sway_seat *seat_create(struct sway_input_manager *input,
42 const char *seat_name); 42 const char *seat_name);
43 43
44void sway_seat_destroy(struct sway_seat *seat); 44void seat_destroy(struct sway_seat *seat);
45 45
46void sway_seat_add_device(struct sway_seat *seat, 46void seat_add_device(struct sway_seat *seat,
47 struct sway_input_device *device); 47 struct sway_input_device *device);
48 48
49void sway_seat_configure_device(struct sway_seat *seat, 49void seat_configure_device(struct sway_seat *seat,
50 struct sway_input_device *device); 50 struct sway_input_device *device);
51 51
52void sway_seat_remove_device(struct sway_seat *seat, 52void seat_remove_device(struct sway_seat *seat,
53 struct sway_input_device *device); 53 struct sway_input_device *device);
54 54
55void sway_seat_configure_xcursor(struct sway_seat *seat); 55void seat_configure_xcursor(struct sway_seat *seat);
56 56
57void sway_seat_set_focus(struct sway_seat *seat, struct sway_container *container); 57void seat_set_focus(struct sway_seat *seat, struct sway_container *container);
58 58
59void sway_seat_set_focus_warp(struct sway_seat *seat, 59void seat_set_focus_warp(struct sway_seat *seat,
60 struct sway_container *container, bool warp); 60 struct sway_container *container, bool warp);
61 61
62struct sway_container *sway_seat_get_focus(struct sway_seat *seat); 62struct sway_container *seat_get_focus(struct sway_seat *seat);
63 63
64/** 64/**
65 * Return the last container to be focused for the seat (or the most recently 65 * Return the last container to be focused for the seat (or the most recently
@@ -70,12 +70,12 @@ struct sway_container *sway_seat_get_focus(struct sway_seat *seat);
70 * is destroyed, or focus moves to a container with children and we need to 70 * is destroyed, or focus moves to a container with children and we need to
71 * descend into the next leaf in focus order. 71 * descend into the next leaf in focus order.
72 */ 72 */
73struct sway_container *sway_seat_get_focus_inactive(struct sway_seat *seat, 73struct sway_container *seat_get_focus_inactive(struct sway_seat *seat,
74 struct sway_container *container); 74 struct sway_container *container);
75 75
76struct sway_container *sway_seat_get_focus_by_type(struct sway_seat *seat, 76struct sway_container *seat_get_focus_by_type(struct sway_seat *seat,
77 enum sway_container_type type); 77 enum sway_container_type type);
78 78
79void sway_seat_set_config(struct sway_seat *seat, struct seat_config *seat_config); 79void seat_set_config(struct sway_seat *seat, struct seat_config *seat_config);
80 80
81#endif 81#endif