|
|
cee2d4 |
From 07410fb2f8ecf1dd8bb82bf29a7e81304f62aa81 Mon Sep 17 00:00:00 2001
|
|
|
cee2d4 |
From: Carlos Garnacho <carlosg@gnome.org>
|
|
|
cee2d4 |
Date: Mon, 30 Jul 2018 21:10:31 +0200
|
|
|
cee2d4 |
Subject: [PATCH] wacom: Update to newer "output" setting
|
|
|
cee2d4 |
|
|
|
cee2d4 |
The semantics are pretty much the same for opaque tablets, not
|
|
|
cee2d4 |
much else to do here.
|
|
|
cee2d4 |
---
|
|
|
cee2d4 |
panels/wacom/cc-wacom-device.c | 6 +++---
|
|
|
cee2d4 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
cee2d4 |
|
|
|
cee2d4 |
diff --git a/panels/wacom/cc-wacom-device.c b/panels/wacom/cc-wacom-device.c
|
|
|
cee2d4 |
index 488637dec..e0915d5b5 100644
|
|
|
cee2d4 |
--- a/panels/wacom/cc-wacom-device.c
|
|
|
cee2d4 |
+++ b/panels/wacom/cc-wacom-device.c
|
|
|
cee2d4 |
@@ -309,11 +309,11 @@ find_output (GnomeRRScreen *rr_screen,
|
|
|
cee2d4 |
gsize n;
|
|
|
cee2d4 |
|
|
|
cee2d4 |
settings = cc_wacom_device_get_settings (device);
|
|
|
cee2d4 |
- variant = g_settings_get_value (settings, "display");
|
|
|
cee2d4 |
+ variant = g_settings_get_value (settings, "output");
|
|
|
cee2d4 |
edid = g_variant_get_strv (variant, &n);
|
|
|
cee2d4 |
|
|
|
cee2d4 |
if (n != 3) {
|
|
|
cee2d4 |
- g_critical ("Expected 'display' key to store %d values; got %"G_GSIZE_FORMAT".", 3, n);
|
|
|
cee2d4 |
+ g_critical ("Expected 'output' key to store %d values; got %"G_GSIZE_FORMAT".", 3, n);
|
|
|
cee2d4 |
goto out;
|
|
|
cee2d4 |
}
|
|
|
cee2d4 |
|
|
|
cee2d4 |
@@ -378,7 +378,7 @@ cc_wacom_device_set_output (CcWacomDevice *device,
|
|
|
cee2d4 |
values[2] = serial;
|
|
|
cee2d4 |
}
|
|
|
cee2d4 |
|
|
|
cee2d4 |
- g_settings_set_strv (settings, "display", values);
|
|
|
cee2d4 |
+ g_settings_set_strv (settings, "output", values);
|
|
|
cee2d4 |
|
|
|
cee2d4 |
g_free (vendor);
|
|
|
cee2d4 |
g_free (product);
|
|
|
cee2d4 |
--
|
|
|
cee2d4 |
2.21.0
|
|
|
cee2d4 |
|