wacom: Fix discrepancy when switching monitors from g-c-c
The rotation was being set directly from g-c-c when switching monitors but g-s-d already does this when the display is set to the tablet. This resulted in a discrepancy between setting the monitor from g-c-c or from g-s-d when the left-handed mode was on. https://bugzilla.gnome.org/show_bug.cgi?id=700439
This commit is contained in:
parent
4c25064e5a
commit
edc0a9b11f
1 changed files with 0 additions and 11 deletions
|
@ -199,17 +199,6 @@ update_mapping (CcWacomMappingPanel *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
gsd_wacom_device_set_display (self->priv->device, monitor);
|
gsd_wacom_device_set_display (self->priv->device, monitor);
|
||||||
|
|
||||||
if (monitor >= 0) {
|
|
||||||
GsdWacomRotation rotation;
|
|
||||||
GSettings *settings;
|
|
||||||
|
|
||||||
rotation = gsd_wacom_device_get_display_rotation (self->priv->device);
|
|
||||||
settings = gsd_wacom_device_get_settings (self->priv->device);
|
|
||||||
g_settings_set_string (settings,
|
|
||||||
"rotation",
|
|
||||||
gsd_wacom_device_rotation_type_to_name (rotation));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue