aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 10:37:31 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 10:37:31 -0400
commit53bb7ea9962c5d97e0672eabcf1b9dfb7ffad0f1 (patch)
tree83856846c12de678ac15b5c41e9623f54df725fd /include/sway/input/seat.h
parentrename input-manager functions (diff)
downloadsway-53bb7ea9962c5d97e0672eabcf1b9dfb7ffad0f1.tar.gz
sway-53bb7ea9962c5d97e0672eabcf1b9dfb7ffad0f1.tar.zst
sway-53bb7ea9962c5d97e0672eabcf1b9dfb7ffad0f1.zip
dont copy seat config on the seat
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 38a6379c..3a1cf350 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -23,7 +23,6 @@ struct sway_seat_container {
23 23
24struct sway_seat { 24struct sway_seat {
25 struct wlr_seat *wlr_seat; 25 struct wlr_seat *wlr_seat;
26 struct seat_config *config;
27 struct sway_cursor *cursor; 26 struct sway_cursor *cursor;
28 struct sway_input_manager *input; 27 struct sway_input_manager *input;
29 28
@@ -76,6 +75,8 @@ struct sway_container *seat_get_focus_inactive(struct sway_seat *seat,
76struct sway_container *seat_get_focus_by_type(struct sway_seat *seat, 75struct sway_container *seat_get_focus_by_type(struct sway_seat *seat,
77 enum sway_container_type type); 76 enum sway_container_type type);
78 77
79void seat_set_config(struct sway_seat *seat, struct seat_config *seat_config); 78void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config);
79
80struct seat_config *seat_get_config(struct sway_seat *seat);
80 81
81#endif 82#endif