aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 8c2100cb8c4..ef4801fbb18 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7641,7 +7641,7 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time)
7641 round down even for negative values. */ 7641 round down even for negative values. */
7642 if (gx < 0) 7642 if (gx < 0)
7643 gx -= width - 1; 7643 gx -= width - 1;
7644 if (y < 0) 7644 if (gy < 0)
7645 gy -= height - 1; 7645 gy -= height - 1;
7646 gx = (gx + width - 1) / width * width; 7646 gx = (gx + width - 1) / width * width;
7647 gy = (gy + height - 1) / height * height; 7647 gy = (gy + height - 1) / height * height;