summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2013-01-07 20:32:19 +0000
committerokan <okan>2013-01-07 20:32:19 +0000
commit7c4ed94757dcc7c62d6bee03aeeb7b2947c84916 (patch)
treee45aeb9d705830341b579262df79a0848ffcb206 /screen.c
parentc426254da5ff69102284524ddc560cfb00c73204 (diff)
downloadcwm-7c4ed94757dcc7c62d6bee03aeeb7b2947c84916.tar.gz
cwm-7c4ed94757dcc7c62d6bee03aeeb7b2947c84916.tar.xz
cwm-7c4ed94757dcc7c62d6bee03aeeb7b2947c84916.zip
unbreak xinerama support from r1.41 for panning setups
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 01c2f73..d0518c5 100644
--- a/screen.c
+++ b/screen.c
@@ -143,8 +143,8 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
 		    y >= info->y_org && y < info->y_org + info->height) {
 			geom.x = info->x_org;
 			geom.y = info->y_org;
-			geom.w = info->width;
-			geom.h = info->height;
+			geom.w = info->x_org + info->width;
+			geom.h = info->y_org + info->height;
 			break;
 		}
 	}