mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
reload: reset input configs
This resets all input options to their defaults on reload. This also fixes some debug log typos in `input_manager_libinput_config_pointer`.
This commit is contained in:
parent
14cab78612
commit
4696f49ecc
5 changed files with 215 additions and 3 deletions
|
|
@ -37,6 +37,10 @@ void input_manager_configure_xcursor(void);
|
|||
|
||||
void input_manager_apply_input_config(struct input_config *input_config);
|
||||
|
||||
void input_manager_reset_input(struct sway_input_device *input_device);
|
||||
|
||||
void input_manager_reset_all_inputs();
|
||||
|
||||
void input_manager_apply_seat_config(struct seat_config *seat_config);
|
||||
|
||||
struct sway_seat *input_manager_get_default_seat(void);
|
||||
|
|
|
|||
|
|
@ -100,6 +100,9 @@ void seat_add_device(struct sway_seat *seat,
|
|||
void seat_configure_device(struct sway_seat *seat,
|
||||
struct sway_input_device *device);
|
||||
|
||||
void seat_reset_device(struct sway_seat *seat,
|
||||
struct sway_input_device *input_device);
|
||||
|
||||
void seat_remove_device(struct sway_seat *seat,
|
||||
struct sway_input_device *device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue