[gnome-flashback] input-settings: update to new "output" setting for touchscreen



commit b5a08d563965088fe004a70d6f061efff8ec2104
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Aug 2 19:14:21 2019 +0300

    input-settings: update to new "output" setting for touchscreen
    
    https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/commit/c7eee129c6edbc1a5b121fa3327d83049325becb
    https://gitlab.gnome.org/GNOME/mutter/commit/ffca9b999dfd96de66144cccb9cc450a4e382232
    
    https://github.com/jcstr/i3-gnome/issues/36

 configure.ac                                          | 2 +-
 gnome-flashback/libinput-settings/gf-input-settings.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 43a25bc..7e61362 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,7 @@ GTK_REQUIRED=3.22.0
 LIBGNOME_DESKTOP_REQUIRED=3.12.0
 CANBERRA_REQUIRED=0.13
 GLIB_REQUIRED=2.44.0
-GSETTINGS_DESKTOP_SCHEMAS_REQUIRED=3.24.0
+GSETTINGS_DESKTOP_SCHEMAS_REQUIRED=3.31.0
 POLKIT_AGENT_REQUIRED=0.97
 POLKIT_GOBJECT_REQUIRED=0.97
 IBUS_REQUIRED=1.5.2
diff --git a/gnome-flashback/libinput-settings/gf-input-settings.c 
b/gnome-flashback/libinput-settings/gf-input-settings.c
index 5212fff..629da7f 100644
--- a/gnome-flashback/libinput-settings/gf-input-settings.c
+++ b/gnome-flashback/libinput-settings/gf-input-settings.c
@@ -1098,7 +1098,7 @@ find_monitor (GfInputSettings   *settings,
   if (!settings->monitor_manager)
     return;
 
-  edid = g_settings_get_strv (gsettings, "display");
+  edid = g_settings_get_strv (gsettings, "output");
   n_values = g_strv_length (edid);
 
   if (n_values != 3)
@@ -1259,7 +1259,7 @@ mapped_device_changed_cb (GSettings         *gsettings,
                           const gchar       *key,
                           DeviceMappingInfo *info)
 {
-  if (strcmp (key, "display") == 0)
+  if (strcmp (key, "output") == 0)
     update_device_display (info->settings, gsettings, info->device);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]