aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-02 10:37:31 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-02 10:37:31 -0400
commit7a80118fa23b74400f10e444e5ab831f7e694942 (patch)
tree83856846c12de678ac15b5c41e9623f54df725fd /include
parentab10e1b6384f4f223d989b7a7fb24b4269b32198 (diff)
dont copy seat config on the seat
Diffstat (limited to 'include')
-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