[Xfce4-commits] <xfce4-settings:master> Ignore disconnected outputs
Nick Schermer
noreply at xfce.org
Sat Aug 28 23:02:24 CEST 2010
Updating branch refs/heads/master
to d8fdc287d9f1f2721df63e28ab1cda96fee79dbf (commit)
from b2cb73d660d8586d3af4f70a5c7bb8d2b804771f (commit)
commit d8fdc287d9f1f2721df63e28ab1cda96fee79dbf
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