aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-02 10:37:31 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-02 10:37:31 -0400
commit53bb7ea9962c5d97e0672eabcf1b9dfb7ffad0f1 (patch)
tree83856846c12de678ac15b5c41e9623f54df725fd /include/sway/input
parent0828c772514a85080c53ecade0b8b400314d5b03 (diff)
dont copy seat config on the seat
Diffstat (limited to 'include/sway/input')
-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 {
struct sway_seat {
struct wlr_seat *wlr_seat;
- struct seat_config *config;
struct sway_cursor *cursor;
struct sway_input_manager *input;
@@ -76,6 +75,8 @@ struct sway_container *seat_get_focus_inactive(struct sway_seat *seat,
struct sway_container *seat_get_focus_by_type(struct sway_seat *seat,
enum sway_container_type type);
-void seat_set_config(struct sway_seat *seat, struct seat_config *seat_config);
+void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config);
+
+struct seat_config *seat_get_config(struct sway_seat *seat);
#endif