mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
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
This commit is contained in:
parent
869be4378d
commit
5766f426aa
7 changed files with 45 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ struct sway_input_manager *input_manager;
|
|||
struct input_config *current_input_config = NULL;
|
||||
struct seat_config *current_seat_config = NULL;
|
||||
|
||||
static struct sway_seat *input_manager_get_seat(
|
||||
struct sway_seat *input_manager_get_seat(
|
||||
struct sway_input_manager *input, const char *seat_name) {
|
||||
struct sway_seat *seat = NULL;
|
||||
wl_list_for_each(seat, &input->seats, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue