aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2001-11-24 17:31:06 +0000
committerJason Rumney2001-11-24 17:31:06 +0000
commitb71b81116a0515b1e95d03565b0fe6d757feb845 (patch)
tree869d7ca8615ae4d27edb7bde39750e704c4ccb78 /src
parentf7d40b3b99c0b9ac225ebe607f81607faa0eabb6 (diff)
downloademacs-b71b81116a0515b1e95d03565b0fe6d757feb845.tar.gz
emacs-b71b81116a0515b1e95d03565b0fe6d757feb845.zip
(x_after_update_window_line): Doc fix.
(w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip frames. <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 6c7cbe8b230..71907767f27 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -752,7 +752,7 @@ w32_frame_up_to_date (f)
752/* Draw truncation mark bitmaps, continuation mark bitmaps, overlay 752/* Draw truncation mark bitmaps, continuation mark bitmaps, overlay
753 arrow bitmaps, or clear the fringes if no bitmaps are required 753 arrow bitmaps, or clear the fringes if no bitmaps are required
754 before DESIRED_ROW is made current. The window being updated is 754 before DESIRED_ROW is made current. The window being updated is
755 found in updated_window. This function It is called from 755 found in updated_window. This function is called from
756 update_window_line only if it is known that there are differences 756 update_window_line only if it is known that there are differences
757 between bitmaps to be drawn between current row and DESIRED_ROW. */ 757 between bitmaps to be drawn between current row and DESIRED_ROW. */
758 758
@@ -8464,7 +8464,7 @@ w32_read_socket (sd, bufp, numchars, expected)
8464 if (numchars <= 0) 8464 if (numchars <= 0)
8465 abort (); /* Don't think this happens. */ 8465 abort (); /* Don't think this happens. */
8466 8466
8467 /* TODO: tooltips, tool-bars, ghostscript integration, mouse 8467 /* TODO: tool-bars, ghostscript integration, mouse
8468 cursors. */ 8468 cursors. */
8469 while (get_next_msg (&msg, FALSE)) 8469 while (get_next_msg (&msg, FALSE))
8470 { 8470 {
@@ -8789,6 +8789,15 @@ w32_read_socket (sd, bufp, numchars, expected)
8789 break; 8789 break;
8790 8790
8791 case WM_SHOWWINDOW: 8791 case WM_SHOWWINDOW:
8792 /* wParam non-zero means Window is about to be shown, 0 means
8793 about to be hidden. */
8794 /* Redo the mouse-highlight after the tooltip has gone. */
8795 if (!msg.msg.wParam && msg.msg.hwnd == tip_window)
8796 {
8797 tip_window = NULL;
8798 redo_mouse_highlight ();
8799 }
8800
8792 /* If window has been obscured or exposed by another window 8801 /* If window has been obscured or exposed by another window
8793 being maximised or minimised/restored, then recheck 8802 being maximised or minimised/restored, then recheck
8794 visibility of all frames. Direct changes to our own 8803 visibility of all frames. Direct changes to our own
@@ -9068,6 +9077,11 @@ w32_read_socket (sd, bufp, numchars, expected)
9068 FOR_EACH_FRAME (tail, frame) 9077 FOR_EACH_FRAME (tail, frame)
9069 { 9078 {
9070 FRAME_PTR f = XFRAME (frame); 9079 FRAME_PTR f = XFRAME (frame);
9080 /* The tooltip has been drawn already. Avoid the
9081 SET_FRAME_GARBAGED below. */
9082 if (f == XFRAME (tip_frame))
9083 continue;
9084
9071 /* Check "visible" frames and mark each as obscured or not. 9085 /* Check "visible" frames and mark each as obscured or not.
9072 Note that async_visible is nonzero for unobscured and 9086 Note that async_visible is nonzero for unobscured and
9073 obscured frames, but zero for hidden and iconified frames. */ 9087 obscured frames, but zero for hidden and iconified frames. */