Skip to content

Commit

Permalink
input-manager: move device mapping log to INPUT_DEVICES category
Browse files Browse the repository at this point in the history
  • Loading branch information
ammen99 committed Feb 24, 2025
1 parent 448da9e commit fe62fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/seat/input-manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ void wf::input_manager_t::configure_input_device(std::unique_ptr<wf::input_devic
auto wo = wf::get_core().output_layout->find_output(mapped_output);
if (wo)
{
LOGD("Mapping input ", dev->name, " to output ", wo->to_string(), ".");
LOGC(INPUT_DEVICES, "Mapping input ", dev->name, " to output ", wo->to_string(), ".");
wlr_cursor_map_input_to_output(cursor, dev, wo->handle);
} else
{
LOGD("Mapping input ", dev->name, " to output null.");
LOGC(INPUT_DEVICES, "Mapping input ", dev->name, " to output null.");
wlr_cursor_map_input_to_output(cursor, dev, nullptr);
}
}
Expand Down

0 comments on commit fe62fa9

Please sign in to comment.