[gnome-settings-daemon] wacom: Fix default area ordering
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Fix default area ordering
- Date: Tue, 8 Oct 2013 17:33:51 +0000 (UTC)
commit 77b8eb61beba9863a1aecf503265883f0e40b978
Author: Bastien Nocera <hadess hadess net>
Date: Tue Oct 8 19:31:57 2013 +0200
wacom: Fix default area ordering
The valuators aren't in the same order as the "Wacom Tablet Area"
properties or the "area" GSettings.
plugins/wacom/gsd-wacom-device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-device.c b/plugins/wacom/gsd-wacom-device.c
index 73b0ee5..12204e1 100644
--- a/plugins/wacom/gsd-wacom-device.c
+++ b/plugins/wacom/gsd-wacom-device.c
@@ -1931,8 +1931,8 @@ fill_old_axis (int device_id,
if (V->num_axes >= 2) {
items[0] = ax[0].min_value;
- items[1] = ax[0].max_value;
- items[2] = ax[1].min_value;
+ items[2] = ax[0].max_value;
+ items[1] = ax[1].min_value;
items[3] = ax[1].max_value;
g_debug ("Found factory values for device calibration");
retval = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]