[gnome-settings-daemon/gnome-3-24] common: Fix typo in udev GsdDeviceManager implementation
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-24] common: Fix typo in udev GsdDeviceManager implementation
- Date: Wed, 12 Jul 2017 21:22:31 +0000 (UTC)
commit b417ae73728c1a955f55b7a8cf7e498d9b1696f7
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jun 29 15:36:29 2017 +0200
common: Fix typo in udev GsdDeviceManager implementation
This would yield the wrong size, specially harmful for touchscreens as
there's no other backing heuristic here. This may result in touchscreens
being assigned the wrong output if there's several of them.
https://bugzilla.gnome.org/show_bug.cgi?id=784341
plugins/common/gsd-device-manager-udev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/gsd-device-manager-udev.c b/plugins/common/gsd-device-manager-udev.c
index 6289f55..3fb378e 100644
--- a/plugins/common/gsd-device-manager-udev.c
+++ b/plugins/common/gsd-device-manager-udev.c
@@ -91,7 +91,7 @@ create_device (GUdevDevice *udev_device)
vendor = g_udev_device_get_property (udev_device, "ID_VENDOR_ID");
product = g_udev_device_get_property (udev_device, "ID_MODEL_ID");
width = g_udev_device_get_property_as_int (udev_device, "ID_INPUT_WIDTH_MM");
- height = g_udev_device_get_property_as_int (udev_device, "ID_INPUT_WIDTH_MM");
+ height = g_udev_device_get_property_as_int (udev_device, "ID_INPUT_HEIGHT_MM");
device = g_object_new (GSD_TYPE_DEVICE,
"name", name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]