diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-01-16 21:16:04 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-01-22 07:26:37 +0100 |
commit | 5766f426aac11bf39234dcca4c479ee865081dad (patch) | |
tree | 0d1917761854db5d79c5d7478e46e3082bf14b8f /include/sway/input/cursor.h | |
parent | commands: add 'reload' command (diff) | |
download | sway-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/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 2f70cf4b..a16b793b 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -25,6 +25,7 @@ struct sway_cursor { | |||
25 | struct wl_listener request_set_cursor; | 25 | struct wl_listener request_set_cursor; |
26 | }; | 26 | }; |
27 | 27 | ||
28 | void sway_cursor_destroy(struct sway_cursor *cursor); | ||
28 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 29 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
29 | 30 | ||
30 | #endif | 31 | #endif |