[Xfce4-commits] <xfce4-settings:xrandr-display-settings> Ignore disconnected outputs
Jérôme Guelfucci
noreply at xfce.org
Thu Jun 10 11:28:01 CEST 2010
Updating branch refs/heads/xrandr-display-settings
to 0765e3b70ee82cf5bc05ae213fa862d725a1aea6 (commit)
from 1beb4f649894d10f1418d987a9cbcfa36be8bf08 (commit)
commit 0765e3b70ee82cf5bc05ae213fa862d725a1aea6
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date: Tue Jun 8 21:52:46 2010 +0200
Ignore disconnected outputs
xfce4-settings-helper/displays.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/xfce4-settings-helper/displays.c b/xfce4-settings-helper/displays.c
index 4991ac6..59ffb83 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -264,7 +264,8 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
{
output_info = XRRGetOutputInfo (xdisplay, resources, resources->outputs[m]);
- if (g_strcmp0 (output_info->name, output_name) != 0)
+ if (output_info->connection != RR_Connected
+ || g_strcmp0 (output_info->name, output_name) != 0)
{
XRRFreeOutputInfo (output_info);
continue;
More information about the Xfce4-commits
mailing list