Mercurial > emacs
comparison src/xterm.c @ 83230:d8738586aaec
Remove remaining references to updating_frame.
* src/dispextern.h (updated_window): Remove comment reference to
updating_frame.
* src/dispnew.c (update_window): Remove bogus xassert.
* src/xterm.c: (x_clear_frame): Update comment.
(x_draw_window_cursor): Remove reference to updating_frame.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-270
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 28 Nov 2004 14:39:06 +0000 |
parents | 2a3f27a45698 |
children | 4ee39d9428b0 |
comparison
equal
deleted
inserted
replaced
83229:b8f2149f9c3d | 83230:d8738586aaec |
---|---|
2794 xassert (width > 0 && height > 0); | 2794 xassert (width > 0 && height > 0); |
2795 XClearArea (dpy, window, x, y, width, height, exposures); | 2795 XClearArea (dpy, window, x, y, width, height, exposures); |
2796 } | 2796 } |
2797 | 2797 |
2798 | 2798 |
2799 /* Clear entire frame. If updating_frame is non-null, clear that | 2799 /* Clear an entire frame. */ |
2800 frame. Otherwise clear the selected frame. */ | |
2801 | 2800 |
2802 static void | 2801 static void |
2803 x_clear_frame (struct frame *f) | 2802 x_clear_frame (struct frame *f) |
2804 { | 2803 { |
2805 /* Clearing the frame will erase any cursor, so mark them all as no | 2804 /* Clearing the frame will erase any cursor, so mark them all as no |
7388 xic_set_preeditarea (w, x, y); | 7387 xic_set_preeditarea (w, x, y); |
7389 #endif | 7388 #endif |
7390 } | 7389 } |
7391 | 7390 |
7392 #ifndef XFlush | 7391 #ifndef XFlush |
7393 if (updating_frame != f) | 7392 XFlush (FRAME_X_DISPLAY (f)); |
7394 XFlush (FRAME_X_DISPLAY (f)); | |
7395 #endif | 7393 #endif |
7396 } | 7394 } |
7397 | 7395 |
7398 | 7396 |
7399 /* Icons. */ | 7397 /* Icons. */ |