From 7c4ed94757dcc7c62d6bee03aeeb7b2947c84916 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 7 Jan 2013 20:32:19 +0000 Subject: unbreak xinerama support from r1.41 for panning setups --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'screen.c') 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; } } -- cgit 1.4.1