[gnome-settings-daemon/rhel-6.9: 14/25] Enable smart configuration on hotplug
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/rhel-6.9: 14/25] Enable smart configuration on hotplug
- Date: Wed, 8 Feb 2017 20:47:33 +0000 (UTC)
commit de8f77d50046ff5dc0ed3a2a937e12fe68d636c9
Author: Ray Strode <rstrode redhat com>
Date: Tue Jun 8 18:15:25 2010 -0400
Enable smart configuration on hotplug
This commit toggles the default on the
conditional introduced in
commit 900d3ed34cb691f056e82bf3cbe9c40ebb87c9e9
That commit was fixing a bug with the "Detect Displays"
button. Unfortunately, the fix has the side effect of
breaking user expectations on hotplug.
I believe the original bug can be fixed in a different
way with some trickery in the gnome-rr code in gnome-desktop.
Regardless, the bug in "Detect Displays" seems like the
lesser of two evils.
plugins/xrandr/gsd-xrandr-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 389cf87..b432aba 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1198,13 +1198,13 @@ on_randr_event (GnomeRRScreen *screen, gpointer data)
*/
-#if 1
+#if 0
if (config_timestamp != priv->last_config_timestamp) {
priv->last_config_timestamp = config_timestamp;
auto_configure_outputs (manager, config_timestamp);
}
#else
- /* WHY THIS CODE IS DISABLED:
+ /* WHY THIS CODE WAS DISABLED:
*
* The strategy of "on hotplug or unsuspend, restore a
* known-good configuration, and fall back to autoconfiguration"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]