|
Lines 829-835
meta_input_settings_find_monitor (MetaInputSettings *input_settings,
Link Here
|
| 829 |
gchar **edid; |
829 |
gchar **edid; |
| 830 |
|
830 |
|
| 831 |
priv = meta_input_settings_get_instance_private (input_settings); |
831 |
priv = meta_input_settings_get_instance_private (input_settings); |
| 832 |
edid = g_settings_get_strv (settings, "display"); |
832 |
edid = g_settings_get_strv (settings, "output"); |
| 833 |
n_values = g_strv_length (edid); |
833 |
n_values = g_strv_length (edid); |
| 834 |
|
834 |
|
| 835 |
if (n_values != 3) |
835 |
if (n_values != 3) |
|
Lines 1172-1178
mapped_device_changed_cb (GSettings *settings,
Link Here
|
| 1172 |
const gchar *key, |
1172 |
const gchar *key, |
| 1173 |
DeviceMappingInfo *info) |
1173 |
DeviceMappingInfo *info) |
| 1174 |
{ |
1174 |
{ |
| 1175 |
if (strcmp (key, "display") == 0) |
1175 |
if (strcmp (key, "output") == 0) |
| 1176 |
update_device_display (info->input_settings, settings, info->device); |
1176 |
update_device_display (info->input_settings, settings, info->device); |
| 1177 |
else if (strcmp (key, "mapping") == 0) |
1177 |
else if (strcmp (key, "mapping") == 0) |
| 1178 |
update_tablet_mapping (info->input_settings, settings, info->device); |
1178 |
update_tablet_mapping (info->input_settings, settings, info->device); |
|
Lines 2086-2092
meta_input_settings_cycle_tablet_output (MetaInputSettings *input_settings,
Link Here
|
| 2086 |
edid[1] = ""; |
2086 |
edid[1] = ""; |
| 2087 |
edid[2] = ""; |
2087 |
edid[2] = ""; |
| 2088 |
} |
2088 |
} |
| 2089 |
g_settings_set_strv (info->settings, "display", edid); |
2089 |
g_settings_set_strv (info->settings, "output", edid); |
| 2090 |
|
2090 |
|
| 2091 |
meta_display_show_tablet_mapping_notification (meta_get_display (), |
2091 |
meta_display_show_tablet_mapping_notification (meta_get_display (), |
| 2092 |
device, pretty_name); |
2092 |
device, pretty_name); |
| 2093 |
- |
|
|