aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes2001-09-04 17:42:03 +0000
committerAndrew Innes2001-09-04 17:42:03 +0000
commit8f8601801d2b0317036d34b486d074b96722bb70 (patch)
tree63801405a48d5ae72cc63cc127cec90c1f5d157e /src
parent18f0b3428088385e9cc14fc0dee7525ba397a0b0 (diff)
downloademacs-8f8601801d2b0317036d34b486d074b96722bb70.tar.gz
emacs-8f8601801d2b0317036d34b486d074b96722bb70.zip
(w32_read_socket): Add more information to debugging output.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/w32term.c8
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 @@
12001-09-04 Andrew Innes <andrewi@gnu.org>
2
3 * w32term.c (w32_read_socket): Add more information to debugging output.
4
5 * w32fns.c (w32_createwindow): Remove the WS_CLIPCHILDREN style
6 from Emacs frames, so that calls to GetClipBox in w32term.c
7 correctly report when part of a frame is visible (including
8 scrollbars, etc). This prevents repeated redrawing of frames when
9 only a scrollbar is visible.
10 (w32_wnd_proc): Add more frame information to debugging output.
11
12001-09-03 Stefan Monnier <monnier@cs.yale.edu> 122001-09-03 Stefan Monnier <monnier@cs.yale.edu>
2 13
3 * xdisp.c (handle_single_display_prop): Fix for int/Lisp_Object mixup. 14 * 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)
8124 { 8124 {
8125 /* We may get paint messages even though the client 8125 /* We may get paint messages even though the client
8126 area is clipped - these are not expose events. */ 8126 area is clipped - these are not expose events. */
8127 DebPrint (("clipped frame %04x (%s) got WM_PAINT\n", f, 8127 DebPrint (("clipped frame %p (%s) got WM_PAINT - ignored\n", f,
8128 XSTRING (f->name)->data)); 8128 XSTRING (f->name)->data));
8129 } 8129 }
8130 else if (f->async_visible != 1) 8130 else if (f->async_visible != 1)
@@ -8133,7 +8133,7 @@ w32_read_socket (sd, bufp, numchars, expected)
8133 f->async_visible = 1; 8133 f->async_visible = 1;
8134 f->async_iconified = 0; 8134 f->async_iconified = 0;
8135 SET_FRAME_GARBAGED (f); 8135 SET_FRAME_GARBAGED (f);
8136 DebPrint (("frame %04x (%s) reexposed\n", f, 8136 DebPrint (("frame %p (%s) reexposed by WM_PAINT\n", f,
8137 XSTRING (f->name)->data)); 8137 XSTRING (f->name)->data));
8138 8138
8139 /* WM_PAINT serves as MapNotify as well, so report 8139 /* WM_PAINT serves as MapNotify as well, so report
@@ -8734,7 +8734,7 @@ w32_read_socket (sd, bufp, numchars, expected)
8734 8734
8735 if (!FRAME_OBSCURED_P (f)) 8735 if (!FRAME_OBSCURED_P (f))
8736 { 8736 {
8737 DebPrint (("frame %04x (%s) obscured\n", f, 8737 DebPrint (("frame %p (%s) obscured\n", f,
8738 XSTRING (f->name)->data)); 8738 XSTRING (f->name)->data));
8739 } 8739 }
8740 } 8740 }
@@ -8746,7 +8746,7 @@ w32_read_socket (sd, bufp, numchars, expected)
8746 if (FRAME_OBSCURED_P (f)) 8746 if (FRAME_OBSCURED_P (f))
8747 { 8747 {
8748 SET_FRAME_GARBAGED (f); 8748 SET_FRAME_GARBAGED (f);
8749 DebPrint (("frame %04x (%s) reexposed\n", f, 8749 DebPrint (("obscured frame %p (%s) found to be visible\n", f,
8750 XSTRING (f->name)->data)); 8750 XSTRING (f->name)->data));
8751 8751
8752 /* Force a redisplay sooner or later. */ 8752 /* Force a redisplay sooner or later. */