aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 5aafd8a741a..409d0972fdd 100644
--- a/src/window.c
+++ b/src/window.c
@@ -938,8 +938,10 @@ column 0. */)
938 CHECK_NUMBER_OR_FLOAT (y); 938 CHECK_NUMBER_OR_FLOAT (y);
939 939
940 return window_from_coordinates (f, 940 return window_from_coordinates (f,
941 FRAME_PIXEL_X_FROM_CANON_X (f, x), 941 (FRAME_PIXEL_X_FROM_CANON_X (f, x)
942 FRAME_PIXEL_Y_FROM_CANON_Y (f, y), 942 + FRAME_INTERNAL_BORDER_WIDTH (f)),
943 (FRAME_PIXEL_Y_FROM_CANON_Y (f, y)
944 + FRAME_INTERNAL_BORDER_WIDTH (f)),
943 0, 0, 0, 0); 945 0, 0, 0, 0);
944} 946}
945 947