[Xfce4-commits] <xfce4-settings:master> Do not set a primary screen randomly.
Nick Schermer
noreply at xfce.org
Sat Aug 28 23:02:05 CEST 2010
Updating branch refs/heads/master
to e4ff701cb36e44d94a442cc84214e58b1439349f (commit)
from db0311e9b3471f548b25c2c820c1d002de928696 (commit)
commit e4ff701cb36e44d94a442cc84214e58b1439349f
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date: Tue Jun 1 21:23:31 2010 +0200
Do not set a primary screen randomly.
dialogs/display-settings/xfce-randr.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/dialogs/display-settings/xfce-randr.c b/dialogs/display-settings/xfce-randr.c
index 55a30cc..d5bdf4a 100644
--- a/dialogs/display-settings/xfce-randr.c
+++ b/dialogs/display-settings/xfce-randr.c
@@ -142,17 +142,7 @@ xfce_randr_new (GdkDisplay *display,
randr->status[n] = XFCE_OUTPUT_STATUS_PRIMARY;
continue;
}
- else
#endif
- {
- /* for randr 1.2, no XRRGetOutputPrimary(), so use the first one */
- if (G_UNLIKELY (n == 0))
- {
- randr->status[n] = XFCE_OUTPUT_STATUS_PRIMARY;
- continue;
- }
- }
-
randr->status[n] = XFCE_OUTPUT_STATUS_SECONDARY;
}
}
More information about the Xfce4-commits
mailing list