[gnome-control-center] wacom: Pass -1 as monitor to reset the mapping to the entire screen



commit f1e3f0fea58aa2e30e8603ed328cc32dc57af3c2
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Mon Feb 27 16:02:56 2012 +0100

    wacom: Pass -1 as monitor to reset the mapping to the entire screen

 panels/wacom/cc-wacom-mapping-panel.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-mapping-panel.c b/panels/wacom/cc-wacom-mapping-panel.c
index d0346e0..4738dc7 100644
--- a/panels/wacom/cc-wacom-mapping-panel.c
+++ b/panels/wacom/cc-wacom-mapping-panel.c
@@ -180,13 +180,7 @@ update_mapping (CcWacomMappingPanel *self)
 		gtk_tree_model_get (model, &iter, MONITOR_NAME_COLUMN, &name, MONITOR_NUM_COLUMN, &monitor, -1);
 	}
 
-	if (monitor != -1) {
-		gsd_wacom_device_set_display (self->priv->device, monitor);
-	} else {
-		/* FIXME: does this break screen tablets that aren't
-		 * on the first monitor */
-		gsd_wacom_device_set_display (self->priv->device, 0);
-	}
+	gsd_wacom_device_set_display (self->priv->device, monitor);
 }
 
 void



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