diff options
| author | Karoly Lorentey | 2005-03-23 12:53:42 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-03-23 12:53:42 +0000 |
| commit | dc2be2faa93c237c5645d83e7dbba9578232ab01 (patch) | |
| tree | 67dd8ba5e1ca2c482e732ab705e9998de0a08867 /src/xterm.c | |
| parent | 76acbdc50490034f233bc78d14a7cd5717d9432e (diff) | |
| download | emacs-dc2be2faa93c237c5645d83e7dbba9578232ab01.tar.gz emacs-dc2be2faa93c237c5645d83e7dbba9578232ab01.zip | |
Fix some superflous deviations from CVS, plus apply some cosmetics.
* etc/TODO: Fix deviation from CVS.
* lisp/emulation/viper-util.el: Ditto.
* lisp/international/mule-cmds.el: Ditto.
* lisp/progmodes/gdb-ui.el: Ditto.
* src/termchar.h: Ditto.
* src/xfns.c (Fx_create_frame): Ditto.
* lisp/term/rxvt.el: Don't embed `(require 'server)' in eval-when-compile.
* lisp/term/xterm.el: Ditto.
* src/xterm.c (x_delete_display): Cosmetic change.
* src/xterm.c (x_create_frame_display): Cosmetic change.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-317
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/src/xterm.c b/src/xterm.c index c47b52d881c..c64a73d8aa6 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -482,6 +482,7 @@ x_update_begin (f) | |||
| 482 | /* Nothing to do. */ | 482 | /* Nothing to do. */ |
| 483 | } | 483 | } |
| 484 | 484 | ||
| 485 | |||
| 485 | /* Start update of window W. Set the global variable updated_window | 486 | /* Start update of window W. Set the global variable updated_window |
| 486 | to the window being updated and set output_cursor to the cursor | 487 | to the window being updated and set output_cursor to the cursor |
| 487 | position of W. */ | 488 | position of W. */ |
| @@ -7542,7 +7543,7 @@ x_catch_errors_unwind (old_val) | |||
| 7542 | { | 7543 | { |
| 7543 | Lisp_Object first = XCAR (old_val); | 7544 | Lisp_Object first = XCAR (old_val); |
| 7544 | Display *dpy = XSAVE_VALUE (first)->pointer; | 7545 | Display *dpy = XSAVE_VALUE (first)->pointer; |
| 7545 | 7546 | ||
| 7546 | /* The display may have been closed before this function is called. | 7547 | /* The display may have been closed before this function is called. |
| 7547 | Check if it is still open before calling XSync. */ | 7548 | Check if it is still open before calling XSync. */ |
| 7548 | if (x_display_info_for_display (dpy) != 0) | 7549 | if (x_display_info_for_display (dpy) != 0) |
| @@ -10618,17 +10619,15 @@ x_delete_display (dpyinfo) | |||
| 10618 | struct x_display_info *dpyinfo; | 10619 | struct x_display_info *dpyinfo; |
| 10619 | { | 10620 | { |
| 10620 | int i; | 10621 | int i; |
| 10621 | 10622 | struct display *d; | |
| 10622 | { | 10623 | |
| 10623 | /* Delete the generic struct display for this X display. */ | 10624 | /* Delete the generic struct display for this X display. */ |
| 10624 | struct display *d; | 10625 | for (d = display_list; d; d = d->next_display) |
| 10625 | for (d = display_list; d; d = d->next_display) | 10626 | if (d->type == output_x_window && d->display_info.x == dpyinfo) |
| 10626 | if (d->type == output_x_window && d->display_info.x == dpyinfo) | 10627 | { |
| 10627 | { | 10628 | delete_display (d); |
| 10628 | delete_display (d); | 10629 | break; |
| 10629 | break; | 10630 | } |
| 10630 | } | ||
| 10631 | } | ||
| 10632 | 10631 | ||
| 10633 | delete_keyboard_wait_descriptor (dpyinfo->connection); | 10632 | delete_keyboard_wait_descriptor (dpyinfo->connection); |
| 10634 | 10633 | ||
| @@ -10826,11 +10825,11 @@ x_create_frame_display (struct x_display_info *dpyinfo) | |||
| 10826 | display->delete_display_hook = x_delete_frame_display; | 10825 | display->delete_display_hook = x_delete_frame_display; |
| 10827 | 10826 | ||
| 10828 | display->rif = &x_redisplay_interface; | 10827 | display->rif = &x_redisplay_interface; |
| 10829 | display->scroll_region_ok = 1; /* We'll scroll partial frames. */ | 10828 | display->scroll_region_ok = 1; /* We'll scroll partial frames. */ |
| 10830 | display->char_ins_del_ok = 1; | 10829 | display->char_ins_del_ok = 1; |
| 10831 | display->line_ins_del_ok = 1; /* We'll just blt 'em. */ | 10830 | display->line_ins_del_ok = 1; /* We'll just blt 'em. */ |
| 10832 | display->fast_clear_end_of_line = 1; /* X does this well. */ | 10831 | display->fast_clear_end_of_line = 1; /* X does this well. */ |
| 10833 | display->memory_below_frame = 0; /* We don't remember what scrolls | 10832 | display->memory_below_frame = 0; /* We don't remember what scrolls |
| 10834 | off the bottom. */ | 10833 | off the bottom. */ |
| 10835 | 10834 | ||
| 10836 | return display; | 10835 | return display; |