# HG changeset patch # User Jim Blandy # Date 740885673 0 # Node ID ab295012a818e92456a0430be677cc1ea169f5b0 # Parent 2eebd5d36093ee730075cb3ec478c160d137ecf6 * xterm.c (XTread_socket): Remove #if 0''s around code which tests for dropped connection (i.e. sigio but no events). diff -r 2eebd5d36093 -r ab295012a818 src/xterm.c --- 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;