aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/input-manager.h
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-01-16 21:16:04 +0100
committerDominique Martinet <asmadeus@codewreck.org>2018-01-22 07:26:37 +0100
commit5766f426aac11bf39234dcca4c479ee865081dad (patch)
tree0d1917761854db5d79c5d7478e46e3082bf14b8f /include/sway/input/input-manager.h
parent869be4378d44e08c686b550a86a5e4fa60915edb (diff)
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/input-manager.h')
-rw-r--r--include/sway/input/input-manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index 2bf297ce..63806b8e 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -46,4 +46,6 @@ void sway_input_manager_apply_seat_config(struct sway_input_manager *input,
struct sway_seat *sway_input_manager_get_default_seat(
struct sway_input_manager *input);
+struct sway_seat *input_manager_get_seat(struct sway_input_manager *input,
+ const char *seat_name);
#endif