[gnome-settings-daemon/gnome-3-14] common: Unset output-from-settings if no matching output is found



commit a56644f5246bd945328c2ca94e21d48a8c23e5cd
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 10 16:31:17 2014 +0100

    common: Unset output-from-settings if no matching output is found
    
    This ensures that either an output is guessed for the device again, or for
    display-less tablets, the default matrix spanning full desktop extents is
    reinstaurated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739891

 plugins/common/gsd-device-mapper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/gsd-device-mapper.c b/plugins/common/gsd-device-mapper.c
index 3ef8faa..9413b31 100644
--- a/plugins/common/gsd-device-mapper.c
+++ b/plugins/common/gsd-device-mapper.c
@@ -940,6 +940,7 @@ input_info_update_settings_output (GsdInputInfo *info)
                input_info_remap (info);
        } else {
                /* Guess an output for this device */
+               input_info_set_output (info, NULL, FALSE, FALSE);
                mapper_recalculate_input (info->mapper, info);
        }
 }


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