projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8302860
)
evdev: log device's DPI setting if any
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 23 Jun 2015 02:41:57 +0000
(12:41 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 25 Jun 2015 22:18:58 +0000
(08:18 +1000)
Makes debugging things easier.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index
22df622
..
9e2909c
100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-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;