aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/w32fns.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index db766c78e6c..d7778e3a524 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12013-05-14 Eli Zaretskii <eliz@gnu.org>
2
3 * w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT
4 unless we know that the window w is a leaf window. Another
5 attempt at solving bug#14062.
6
12013-05-14 Jan Djärv <jan.h.d@swipnet.se> 72013-05-14 Jan Djärv <jan.h.d@swipnet.se>
2 8
3 * nsfont.m (ns_spec_to_descriptor): Retain and autorelease 9 * nsfont.m (ns_spec_to_descriptor): Retain and autorelease
diff --git a/src/w32fns.c b/src/w32fns.c
index 66581341478..d7ac0dd1a6c 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -3183,8 +3183,9 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
3183 form.ptCurrentPos.y = w32_system_caret_y; 3183 form.ptCurrentPos.y = w32_system_caret_y;
3184 3184
3185 form.rcArea.left = WINDOW_TEXT_TO_FRAME_PIXEL_X (w, 0); 3185 form.rcArea.left = WINDOW_TEXT_TO_FRAME_PIXEL_X (w, 0);
3186 form.rcArea.top = (WINDOW_TOP_EDGE_Y (w) 3186 form.rcArea.top = WINDOW_TOP_EDGE_Y (w);
3187 + WINDOW_HEADER_LINE_HEIGHT (w)); 3187 if (BUFFERP (w->contents))
3188 form.rcArea.top += WINDOW_HEADER_LINE_HEIGHT (w);
3188 form.rcArea.right = (WINDOW_BOX_RIGHT_EDGE_X (w) 3189 form.rcArea.right = (WINDOW_BOX_RIGHT_EDGE_X (w)
3189 - WINDOW_RIGHT_MARGIN_WIDTH (w) 3190 - WINDOW_RIGHT_MARGIN_WIDTH (w)
3190 - WINDOW_RIGHT_FRINGE_WIDTH (w)); 3191 - WINDOW_RIGHT_FRINGE_WIDTH (w));