aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-01-16 21:16:04 +0100
committerLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-01-22 07:26:37 +0100
commit5766f426aac11bf39234dcca4c479ee865081dad (patch)
tree0d1917761854db5d79c5d7478e46e3082bf14b8f /include/sway/input/seat.h
parentcommands: add 'reload' command (diff)
downloadsway-5766f426aac11bf39234dcca4c479ee865081dad.tar.gz
sway-5766f426aac11bf39234dcca4c479ee865081dad.tar.zst
sway-5766f426aac11bf39234dcca4c479ee865081dad.zip
config reload: destroy old seat when removed from config
This adds new sway_seat_destroy and sway_cursor_destroy helpers and compare new and old config on free
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index d703f94c..b21cbccb 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -29,6 +29,8 @@ struct sway_seat {
29struct sway_seat *sway_seat_create(struct sway_input_manager *input, 29struct sway_seat *sway_seat_create(struct sway_input_manager *input,
30 const char *seat_name); 30 const char *seat_name);
31 31
32void sway_seat_destroy(struct sway_seat *seat);
33
32void sway_seat_add_device(struct sway_seat *seat, 34void sway_seat_add_device(struct sway_seat *seat,
33 struct sway_input_device *device); 35 struct sway_input_device *device);
34 36