From 639cb487f6ef8fce272d7f2bdddde98657ac28f0 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 20 Sep 2004 07:05:46 +0000
Subject: [PATCH] Adjust mouse position calculations.

---
 src/conio/console.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conio/console.c b/src/conio/console.c
index 441a457173..318983ae64 100644
--- a/src/conio/console.c
+++ b/src/conio/console.c
@@ -476,7 +476,7 @@ video_event(XEvent *ev)
 		case MotionNotify: {
 				XMotionEvent *me = (XMotionEvent *)ev;
 				me->x -= 2;
-				me->y -= 8;
+				me->y -= 2;
 				me->x/=FW;
 				me->y/=FH;
 				me->x++;
@@ -495,7 +495,7 @@ video_event(XEvent *ev)
 		case ButtonRelease: {
 				XButtonEvent *be = (XButtonEvent *)ev;
 				be->x -= 2;
-				be->y -= 8;
+				be->y -= 2;
 				be->x/=FW;
 				be->y/=FH;
 				be->x++;
@@ -516,7 +516,7 @@ video_event(XEvent *ev)
 		case ButtonPress: {
 				XButtonEvent *be = (XButtonEvent *)ev;
 				be->x -= 2;
-				be->y -= 8;
+				be->y -= 2;
 				be->x/=FW;
 				be->y/=FH;
 				be->x++;
-- 
GitLab