[gnome-settings-daemon/docking-stations] Auto-configure anyway if the timestamp is GDK_CURRENT_TIME



commit b25fa3c31d3dd74c972c05208d67e07f31f8ed8c
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Nov 16 12:45:36 2011 -0600

    Auto-configure anyway if the timestamp is GDK_CURRENT_TIME
    
    This indicates that we really want to force the configuration *now*.
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 plugins/xrandr/gsd-xrandr-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 8f76487..b9f92c3 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1659,7 +1659,7 @@ use_stored_configuration_or_auto_configure_outputs (GsdXrandrManager *manager, g
                 if (error)
                         g_error_free (error);
 
-                if (timestamp != priv->last_config_timestamp) {
+                if (timestamp != priv->last_config_timestamp || timestamp == GDK_CURRENT_TIME) {
                         priv->last_config_timestamp = timestamp;
                         auto_configure_outputs (manager, timestamp);
                         log_msg ("  Automatically configured outputs\n");



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