about summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2013-01-07 21:45:24 +0000
committerokan <okan>2013-01-07 21:45:24 +0000
commit4ffe56b9a3dfe958c1ad51a0064efe8094a306da (patch)
tree668eb3f2f5641b787e39fe40f5bdfcc44339921c /screen.c
parent7c4ed94757dcc7c62d6bee03aeeb7b2947c84916 (diff)
downloadcwm-4ffe56b9a3dfe958c1ad51a0064efe8094a306da.tar.gz
cwm-4ffe56b9a3dfe958c1ad51a0064efe8094a306da.tar.xz
cwm-4ffe56b9a3dfe958c1ad51a0064efe8094a306da.zip
revert previous
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 d0518c5..01c2f73 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->x_org + info->width;
-			geom.h = info->y_org + info->height;
+			geom.w = info->width;
+			geom.h = info->height;
 			break;
 		}
 	}