summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
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;
 		}
 	}