From edc0a9b11ffb5776cc5877151da7d984c1091cb4 Mon Sep 17 00:00:00 2001 From: Joaquim Rocha Date: Thu, 23 May 2013 13:37:43 +0200 Subject: [PATCH] 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 --- panels/wacom/cc-wacom-mapping-panel.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/panels/wacom/cc-wacom-mapping-panel.c b/panels/wacom/cc-wacom-mapping-panel.c index e8654a81e..bb947bdcb 100644 --- a/panels/wacom/cc-wacom-mapping-panel.c +++ b/panels/wacom/cc-wacom-mapping-panel.c @@ -199,17 +199,6 @@ update_mapping (CcWacomMappingPanel *self) } 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