+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.
{
/* 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)
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
if (!FRAME_OBSCURED_P (f))
{
- DebPrint (("frame %04x (%s) obscured\n", f,
+ DebPrint (("frame %p (%s) obscured\n", f,
XSTRING (f->name)->data));
}
}
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. */