Mercurial > emacs
changeset 3890:ab295012a818
* xterm.c (XTread_socket): Remove #if 0''s around code which tests
for dropped connection (i.e. sigio but no events).
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Thu, 24 Jun 1993 01:34:33 +0000 |
parents | 2eebd5d36093 |
children | f457e67ddb6b |
files | src/xterm.c |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Tue Jun 22 08:30:36 1993 +0000 +++ b/src/xterm.c Thu Jun 24 01:34:33 1993 +0000 @@ -3268,7 +3268,6 @@ } } -#if 0 #ifdef HAVE_SELECT if (expected && ! event_found) { @@ -3285,7 +3284,6 @@ kill (getpid (), SIGHUP); } #endif /* ! defined (HAVE_SELECT) */ -#endif /* ! 0 */ #ifndef HAVE_X11 if (updating_frame == 0) @@ -4083,12 +4081,16 @@ { #ifdef HAVE_X11 if (f->display.x->left_pos < 0) - f->display.x->left_pos - = x_screen_width - PIXEL_WIDTH (f) + f->display.x->left_pos; + f->display.x->left_pos = (x_screen_width + - 2 * f->display.x->border_width + - PIXEL_WIDTH (f) + + f->display.x->left_pos); if (f->display.x->top_pos < 0) - f->display.x->top_pos - = x_screen_height - PIXEL_HEIGHT (f) + f->display.x->top_pos; + f->display.x->top_pos = (x_screen_height + - 2 * f->display.x->border_width + - PIXEL_HEIGHT (f) + + f->display.x->top_pos); #else /* ! defined (HAVE_X11) */ WINDOWINFO_TYPE parentinfo;