Fix map_to_output * turning off device

Signed-off-by: Daniel Hill <daniel@gluo.nz>
master
Daniel Hill 2 years ago committed by Simon Ser
parent 9162b536f6
commit 788118f194

@ -220,6 +220,7 @@ bool sway_input_configure_libinput_device(struct sway_input_device *input_device
bool changed = false; bool changed = false;
if (ic->mapped_to_output && if (ic->mapped_to_output &&
strcmp("*", ic->mapped_to_output) != 0 &&
!output_by_name_or_id(ic->mapped_to_output)) { !output_by_name_or_id(ic->mapped_to_output)) {
sway_log(SWAY_DEBUG, sway_log(SWAY_DEBUG,
"%s '%s' is mapped to offline output '%s'; disabling input", "%s '%s' is mapped to offline output '%s'; disabling input",

Loading…
Cancel
Save