commit a84ed8915442f5a643530c87006ce4adf571b3a8
Author: Andrzej <ndrwrdck@gmail.com>
Date:   Sun Nov 27 15:41:40 2011 +0900

    pager: workspace ordering fix in horizontal mode

diff --git a/libwnck/pager.c b/libwnck/pager.c
index 1e05c4a..aeafe14 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -758,13 +758,13 @@ get_workspace_rect (WnckPager    *pager,
 	  break;
 
 	case WNCK_LAYOUT_CORNER_TOPRIGHT:
-	  row = (pager->priv->n_rows - 1) - space / spaces_per_row;
-	  col = space % spaces_per_row;
+	  row = space / spaces_per_row;
+	  col = (spaces_per_row - 1) - space % spaces_per_row;
 	  break;
 
 	case WNCK_LAYOUT_CORNER_BOTTOMLEFT:
-	  row = space / spaces_per_row;
-	  col = (spaces_per_row - 1) - space % spaces_per_row;
+	  row = (pager->priv->n_rows - 1) - space / spaces_per_row;
+	  col = space % spaces_per_row;
 	  break;
 
 	case WNCK_LAYOUT_CORNER_BOTTOMRIGHT:
