mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 01:10:25 +01:00
touchpad: print the device name on error
A little bit easier to recognize. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
84a1a3e081
commit
67ac4501a7
1 changed files with 2 additions and 2 deletions
|
|
@ -565,12 +565,12 @@ tp_init_buttons(struct tp_dispatch *tp,
|
|||
if (tp->buttons.is_clickpad)
|
||||
log_bug_kernel(libinput,
|
||||
"%s: clickpad advertising right button\n",
|
||||
device->sysname);
|
||||
device->devname);
|
||||
} else {
|
||||
if (!tp->buttons.is_clickpad)
|
||||
log_bug_kernel(libinput,
|
||||
"%s: non clickpad without right button?\n",
|
||||
device->sysname);
|
||||
device->devname);
|
||||
}
|
||||
|
||||
absinfo_x = device->abs.absinfo_x;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue