752 |
/* Draw truncation mark bitmaps, continuation mark bitmaps, overlay |
/* Draw truncation mark bitmaps, continuation mark bitmaps, overlay |
753 |
arrow bitmaps, or clear the fringes if no bitmaps are required |
arrow bitmaps, or clear the fringes if no bitmaps are required |
754 |
before DESIRED_ROW is made current. The window being updated is |
before DESIRED_ROW is made current. The window being updated is |
755 |
found in updated_window. This function It is called from |
found in updated_window. This function is called from |
756 |
update_window_line only if it is known that there are differences |
update_window_line only if it is known that there are differences |
757 |
between bitmaps to be drawn between current row and DESIRED_ROW. */ |
between bitmaps to be drawn between current row and DESIRED_ROW. */ |
758 |
|
|
8464 |
if (numchars <= 0) |
if (numchars <= 0) |
8465 |
abort (); /* Don't think this happens. */ |
abort (); /* Don't think this happens. */ |
8466 |
|
|
8467 |
/* TODO: tooltips, tool-bars, ghostscript integration, mouse |
/* TODO: tool-bars, ghostscript integration, mouse |
8468 |
cursors. */ |
cursors. */ |
8469 |
while (get_next_msg (&msg, FALSE)) |
while (get_next_msg (&msg, FALSE)) |
8470 |
{ |
{ |
8789 |
break; |
break; |
8790 |
|
|
8791 |
case WM_SHOWWINDOW: |
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 |
|
|
8801 |
/* If window has been obscured or exposed by another window |
/* If window has been obscured or exposed by another window |
8802 |
being maximised or minimised/restored, then recheck |
being maximised or minimised/restored, then recheck |
8803 |
visibility of all frames. Direct changes to our own |
visibility of all frames. Direct changes to our own |
9077 |
FOR_EACH_FRAME (tail, frame) |
FOR_EACH_FRAME (tail, frame) |
9078 |
{ |
{ |
9079 |
FRAME_PTR f = XFRAME (frame); |
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 |
|
|
9085 |
/* Check "visible" frames and mark each as obscured or not. |
/* Check "visible" frames and mark each as obscured or not. |
9086 |
Note that async_visible is nonzero for unobscured and |
Note that async_visible is nonzero for unobscured and |
9087 |
obscured frames, but zero for hidden and iconified frames. */ |
obscured frames, but zero for hidden and iconified frames. */ |