mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 15:40:06 +01:00
evdev: log device's DPI setting if any
Makes debugging things easier. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8302860451
commit
ffaf1f3b72
1 changed files with 4 additions and 0 deletions
|
|
@ -1497,6 +1497,10 @@ evdev_read_dpi_prop(struct evdev_device *device)
|
|||
DEFAULT_MOUSE_DPI);
|
||||
dpi = DEFAULT_MOUSE_DPI;
|
||||
}
|
||||
log_info(libinput,
|
||||
"Device '%s' set to %d DPI\n",
|
||||
device->devname,
|
||||
dpi);
|
||||
}
|
||||
|
||||
return dpi;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue