From aa4572db97b99c811745dafc6a09a39f9416363d Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sat, 23 Jan 2010 11:23:12 +0000 Subject: [PATCH] Switch sort order We want the leftmost screen to be first SVN revision: 45480 --- src/bin/e_xinerama.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_xinerama.c b/src/bin/e_xinerama.c index 3fcff6b3f..9d7c0a4d9 100644 --- a/src/bin/e_xinerama.c +++ b/src/bin/e_xinerama.c @@ -194,10 +194,10 @@ _e_xinerama_cb_screen_sort(const void *data1, const void *data2) scr = data1; scr2 = data2; - if (scr2->x != scr->x) - return scr2->x - scr->x; - else if (scr2->y != scr->y) - return scr2->y - scr->y; + if (scr->x != scr2->x) + return scr->x - scr2->x; + else if (scr->y != scr2->y) + return scr->y - scr2->y; else { dif = (scr2->w * scr2->h) - (scr->w * scr->h);