diff options
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index 6dae118108e..281ce3c663a 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -776,12 +776,13 @@ w32_buffer_flipping_unblocked_hook (struct frame *f) | |||
| 776 | 776 | ||
| 777 | /* Flip buffers on F if drawing has happened. This function is not | 777 | /* Flip buffers on F if drawing has happened. This function is not |
| 778 | called to flush the display connection of a frame (which doesn't | 778 | called to flush the display connection of a frame (which doesn't |
| 779 | exist on MS Windows), but also called in some situations in | 779 | exist on MS Windows), but is called in some situations in |
| 780 | minibuf.c to make the contents of the back buffer visible. */ | 780 | minibuf.c to make the contents of the back buffer visible. */ |
| 781 | void | 781 | void |
| 782 | w32_flip_buffers_if_dirty (struct frame *f) | 782 | w32_flip_buffers_if_dirty (struct frame *f) |
| 783 | { | 783 | { |
| 784 | if (FRAME_OUTPUT_DATA (f)->paint_buffer | 784 | if (FRAME_W32_P (f) /* do nothing in TTY frames */ |
| 785 | && FRAME_OUTPUT_DATA (f)->paint_buffer | ||
| 785 | && FRAME_OUTPUT_DATA (f)->paint_buffer_dirty | 786 | && FRAME_OUTPUT_DATA (f)->paint_buffer_dirty |
| 786 | && !f->garbaged && !buffer_flipping_blocked_p ()) | 787 | && !f->garbaged && !buffer_flipping_blocked_p ()) |
| 787 | w32_show_back_buffer (f); | 788 | w32_show_back_buffer (f); |