diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-07-30 21:16:24 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-07-31 19:51:58 +0200 |
commit | 5082e2058f3d58357b21586e7d905c8e094761d4 (patch) | |
tree | 54b89acb1abcbac6b729b1ef48a2175e1feb38c2 | |
parent | b9f89cc0dd41256f35a50724a232cddf1542daf2 (diff) | |
download | mutter-wip/carlosg/abs-input-mapper.tar.gz |
backends: Update to new "output" setting for tablets/touchscreenswip/carlosg/abs-input-mapper
-rw-r--r-- | src/backends/meta-input-settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c index f50471b37..8c635a9b4 100644 --- a/src/backends/meta-input-settings.c +++ b/src/backends/meta-input-settings.c @@ -829,7 +829,7 @@ meta_input_settings_find_monitor (MetaInputSettings *input_settings, gchar **edid; priv = meta_input_settings_get_instance_private (input_settings); - edid = g_settings_get_strv (settings, "display"); + edid = g_settings_get_strv (settings, "output"); n_values = g_strv_length (edid); if (n_values != 3) @@ -1172,7 +1172,7 @@ mapped_device_changed_cb (GSettings *settings, const gchar *key, DeviceMappingInfo *info) { - if (strcmp (key, "display") == 0) + if (strcmp (key, "output") == 0) update_device_display (info->input_settings, settings, info->device); else if (strcmp (key, "mapping") == 0) update_tablet_mapping (info->input_settings, settings, info->device); @@ -2086,7 +2086,7 @@ meta_input_settings_cycle_tablet_output (MetaInputSettings *input_settings, edid[1] = ""; edid[2] = ""; } - g_settings_set_strv (info->settings, "display", edid); + g_settings_set_strv (info->settings, "output", edid); meta_display_show_tablet_mapping_notification (meta_get_display (), device, pretty_name); |