[gnome-settings-daemon/rhel-6.9: 20/25] 0001-xrandr-explicitly-set-clone-state-variable-when-gene.patch



commit ded15711225cb9163c8ffb113ae3a43e0ad42952
Author: Ray Strode <rstrode redhat com>
Date:   Mon Nov 7 13:11:42 2016 -0500

    0001-xrandr-explicitly-set-clone-state-variable-when-gene.patch

 plugins/xrandr/gsd-xrandr-manager.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index e3028cd..6e3aa36 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -588,6 +588,8 @@ make_clone_setup (GnomeRRScreen *screen)
                 }
         }
 
+        result->clone = TRUE;
+
         print_configuration (result, "clone setup");
 
         return result;
@@ -686,6 +688,8 @@ make_laptop_setup (GnomeRRScreen *screen)
                 }
         }
 
+        result->clone = FALSE;
+
         print_configuration (result, "Laptop setup");
 
         /* FIXME - Maybe we should return NULL if there is more than
@@ -729,6 +733,8 @@ make_xinerama_setup (GnomeRRScreen *screen)
                         x = turn_on_and_get_rightmost_offset (screen, info, x);
         }
 
+        result->clone = FALSE;
+
         print_configuration (result, "xinerama setup");
 
         return result;
@@ -756,6 +762,8 @@ make_other_setup (GnomeRRScreen *screen)
                }
         }
 
+        result->clone = FALSE;
+
         print_configuration (result, "other setup");
 
         return result;


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