From 10736966d2f285cc7b24a3a6aeafbe6baf79a794 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 1c55b74..eab2eab 100644 --- a/screen.c +++ b/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.42 2013/01/02 18:11:23 okan Exp $ + * $OpenBSD: screen.c,v 1.43 2013/01/07 20:32:19 okan Exp $ */ #include @@ -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 v1.2.3-2-gb3c3