[gnome-settings-daemon] wacom: Skip GSD_WACOM_SET_ALL_MONITORS on the switch monitor pad action



commit 689c74f3d43896c07bb18176ca073213fa91bc59
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Nov 15 17:52:44 2013 +0100

    wacom: Skip GSD_WACOM_SET_ALL_MONITORS on the switch monitor pad action
    
    Having an intermediate setting where the tablet is mapped to all monitors
    comes up as a bit unintuitive, especially on 2 monitor setups, where one
    click is required to switch to the other monitor, but then 2 clicks are
    required to switch back.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710373

 plugins/wacom/gsd-wacom-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 1e3d202..4813abf 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1348,7 +1348,7 @@ switch_monitor (GsdWacomDevice *device)
        current_monitor++;
 
        if (current_monitor >= n_monitors)
-               current_monitor = GSD_WACOM_SET_ALL_MONITORS;
+               current_monitor = 0;
 
        gsd_wacom_device_set_display (device, current_monitor);
 }


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