diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index b0e39612..36593806 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -652,6 +652,8 @@ static void seat_apply_input_config(struct sway_seat *seat, | |||
652 | } | 652 | } |
653 | struct sway_output *output = output_by_name_or_id(mapped_to_output); | 653 | struct sway_output *output = output_by_name_or_id(mapped_to_output); |
654 | if (!output) { | 654 | if (!output) { |
655 | sway_log(SWAY_DEBUG, "Requested output %s for device %s isn't present", | ||
656 | mapped_to_output, sway_device->input_device->identifier); | ||
655 | return; | 657 | return; |
656 | } | 658 | } |
657 | wlr_cursor_map_input_to_output(seat->cursor->cursor, | 659 | wlr_cursor_map_input_to_output(seat->cursor->cursor, |
@@ -701,7 +703,7 @@ static void seat_configure_keyboard(struct sway_seat *seat, | |||
701 | } | 703 | } |
702 | 704 | ||
703 | static void seat_configure_switch(struct sway_seat *seat, | 705 | static void seat_configure_switch(struct sway_seat *seat, |
704 | struct sway_seat_device *seat_device) { | 706 | struct sway_seat_device *seat_device) { |
705 | if (!seat_device->switch_device) { | 707 | if (!seat_device->switch_device) { |
706 | sway_switch_create(seat, seat_device); | 708 | sway_switch_create(seat, seat_device); |
707 | } | 709 | } |