[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32term.c
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32term.c |
Date: |
Sat, 24 Nov 2001 12:31:07 -0500 |
Index: emacs/src/w32term.c
diff -u emacs/src/w32term.c:1.126 emacs/src/w32term.c:1.127
--- emacs/src/w32term.c:1.126 Sun Nov 18 16:53:11 2001
+++ emacs/src/w32term.c Sat Nov 24 12:31:06 2001
@@ -752,7 +752,7 @@
/* Draw truncation mark bitmaps, continuation mark bitmaps, overlay
arrow bitmaps, or clear the fringes if no bitmaps are required
before DESIRED_ROW is made current. The window being updated is
- found in updated_window. This function It is called from
+ found in updated_window. This function is called from
update_window_line only if it is known that there are differences
between bitmaps to be drawn between current row and DESIRED_ROW. */
@@ -8464,7 +8464,7 @@
if (numchars <= 0)
abort (); /* Don't think this happens. */
- /* TODO: tooltips, tool-bars, ghostscript integration, mouse
+ /* TODO: tool-bars, ghostscript integration, mouse
cursors. */
while (get_next_msg (&msg, FALSE))
{
@@ -8789,6 +8789,15 @@
break;
case WM_SHOWWINDOW:
+ /* wParam non-zero means Window is about to be shown, 0 means
+ about to be hidden. */
+ /* Redo the mouse-highlight after the tooltip has gone. */
+ if (!msg.msg.wParam && msg.msg.hwnd == tip_window)
+ {
+ tip_window = NULL;
+ redo_mouse_highlight ();
+ }
+
/* If window has been obscured or exposed by another window
being maximised or minimised/restored, then recheck
visibility of all frames. Direct changes to our own
@@ -9068,6 +9077,11 @@
FOR_EACH_FRAME (tail, frame)
{
FRAME_PTR f = XFRAME (frame);
+ /* The tooltip has been drawn already. Avoid the
+ SET_FRAME_GARBAGED below. */
+ if (f == XFRAME (tip_frame))
+ continue;
+
/* Check "visible" frames and mark each as obscured or not.
Note that async_visible is nonzero for unobscured and
obscured frames, but zero for hidden and iconified frames. */
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/10
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/12
- [Emacs-diffs] Changes to emacs/src/w32term.c, Kim F. Storm, 2001/11/16
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/17
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/17
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/17
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/18
- [Emacs-diffs] Changes to emacs/src/w32term.c,
Jason Rumney <=
- [Emacs-diffs] Changes to emacs/src/w32term.c, Jason Rumney, 2001/11/28
- [Emacs-diffs] Changes to emacs/src/w32term.c, Kim F. Storm, 2001/11/30