[Xfce4-commits] <xfce4-settings:xrandr-display-settings> Check correctly the exit code
Jérôme Guelfucci
noreply at xfce.org
Sun Jun 6 18:48:01 CEST 2010
Updating branch refs/heads/xrandr-display-settings
to 918e879493a8e740b68218cda524b606448e99ba (commit)
from c1f683daa48508c89304e4e2045cc55298859c61 (commit)
commit 918e879493a8e740b68218cda524b606448e99ba
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date: Sun Jun 6 18:20:48 2010 +0200
Check correctly the exit code
xfce4-settings-helper/displays.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xfce4-settings-helper/displays.c b/xfce4-settings-helper/displays.c
index 0447f93..949a447 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -363,7 +363,7 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
if (XRRSetCrtcConfig (xdisplay, resources, output_info->crtc,
crtc_info->timestamp, crtc_info->x, crtc_info->y,
- mode, rot, outputs, noutput) != Success)
+ mode, rot, outputs, noutput) != RRSetConfigSuccess)
g_warning ("Failed to configure %s.", output_info->name);
if (mode == None)
More information about the Xfce4-commits
mailing list