1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

(w32_read_socket): Add more information to debugging output.

This commit is contained in:
Andrew Innes 2001-09-04 17:42:03 +00:00
parent 18f0b34280
commit 8f8601801d
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,14 @@
2001-09-04 Andrew Innes <andrewi@gnu.org>
* 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 <monnier@cs.yale.edu>
* xdisp.c (handle_single_display_prop): Fix for int/Lisp_Object mixup.

View File

@ -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. */