From 8f8601801d2b0317036d34b486d074b96722bb70 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 4 Sep 2001 17:42:03 +0000 Subject: [PATCH] (w32_read_socket): Add more information to debugging output. --- src/ChangeLog | 11 +++++++++++ src/w32term.c | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index e298898104c..daf3bfef279 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2001-09-04 Andrew Innes + + * w32term.c (w32_read_socket): Add more information to debugging output. + + * w32fns.c (w32_createwindow): Remove the WS_CLIPCHILDREN style + from Emacs frames, so that calls to GetClipBox in w32term.c + correctly report when part of a frame is visible (including + scrollbars, etc). This prevents repeated redrawing of frames when + only a scrollbar is visible. + (w32_wnd_proc): Add more frame information to debugging output. + 2001-09-03 Stefan Monnier * xdisp.c (handle_single_display_prop): Fix for int/Lisp_Object mixup. diff --git a/src/w32term.c b/src/w32term.c index f002441f8ea..201a5331515 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -8124,7 +8124,7 @@ w32_read_socket (sd, bufp, numchars, expected) { /* We may get paint messages even though the client area is clipped - these are not expose events. */ - DebPrint (("clipped frame %04x (%s) got WM_PAINT\n", f, + DebPrint (("clipped frame %p (%s) got WM_PAINT - ignored\n", f, XSTRING (f->name)->data)); } else if (f->async_visible != 1) @@ -8133,7 +8133,7 @@ w32_read_socket (sd, bufp, numchars, expected) f->async_visible = 1; f->async_iconified = 0; SET_FRAME_GARBAGED (f); - DebPrint (("frame %04x (%s) reexposed\n", f, + DebPrint (("frame %p (%s) reexposed by WM_PAINT\n", f, XSTRING (f->name)->data)); /* WM_PAINT serves as MapNotify as well, so report @@ -8734,7 +8734,7 @@ w32_read_socket (sd, bufp, numchars, expected) if (!FRAME_OBSCURED_P (f)) { - DebPrint (("frame %04x (%s) obscured\n", f, + DebPrint (("frame %p (%s) obscured\n", f, XSTRING (f->name)->data)); } } @@ -8746,7 +8746,7 @@ w32_read_socket (sd, bufp, numchars, expected) if (FRAME_OBSCURED_P (f)) { SET_FRAME_GARBAGED (f); - DebPrint (("frame %04x (%s) reexposed\n", f, + DebPrint (("obscured frame %p (%s) found to be visible\n", f, XSTRING (f->name)->data)); /* Force a redisplay sooner or later. */ -- 2.39.2