mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
Fix map_to_output * turning off device
Signed-off-by: Daniel Hill <daniel@gluo.nz>
This commit is contained in:
parent
9162b536f6
commit
788118f194
1 changed files with 2 additions and 1 deletions
|
@ -220,7 +220,8 @@ bool sway_input_configure_libinput_device(struct sway_input_device *input_device
|
|||
|
||||
bool changed = false;
|
||||
if (ic->mapped_to_output &&
|
||||
!output_by_name_or_id(ic->mapped_to_output)) {
|
||||
strcmp("*", ic->mapped_to_output) != 0 &&
|
||||
!output_by_name_or_id(ic->mapped_to_output)) {
|
||||
sway_log(SWAY_DEBUG,
|
||||
"%s '%s' is mapped to offline output '%s'; disabling input",
|
||||
ic->input_type, ic->identifier, ic->mapped_to_output);
|
||||
|
|
Loading…
Reference in a new issue