Updating branch refs/heads/bluesabre/display-settings to 641c6c4d7dda4ac41f811c8c0f9e26738f12a732 (commit) from 4eaeaf0726dd89d9e3fd66fff37e7aaa117260c2 (commit)
commit 641c6c4d7dda4ac41f811c8c0f9e26738f12a732 Author: Lionel Le Folgoc <lio...@lefolgoc.net> Date: Wed Nov 7 20:11:13 2012 +0100 Ignore disabled CRTCs when we try to find the topleftmost one Signed-off-by: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at> xfsettingsd/displays.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c index 7238f2c..e53c49f 100644 --- a/xfsettingsd/displays.c +++ b/xfsettingsd/displays.c @@ -816,6 +816,9 @@ xfce_displays_helper_get_topleftmost_pos (XfceRRCrtc *crtc, { g_assert (XFCE_IS_DISPLAYS_HELPER (helper) && crtc); + if (crtc->mode == None) + return; + /* used to normalize positions later */ helper->min_x = MIN (helper->min_x, crtc->x); helper->min_y = MIN (helper->min_y, crtc->y); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits