diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index de6b336db53..ef7c17d042d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4033,7 +4033,7 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 4033 | count++; | 4033 | count++; |
| 4034 | numchars--; | 4034 | numchars--; |
| 4035 | } | 4035 | } |
| 4036 | else if (! NILP(Vframe_list) | 4036 | else if (! NILP (Vframe_list) |
| 4037 | && ! NILP (XCONS (Vframe_list)->cdr)) | 4037 | && ! NILP (XCONS (Vframe_list)->cdr)) |
| 4038 | /* Force a redisplay sooner or later | 4038 | /* Force a redisplay sooner or later |
| 4039 | to update the frame titles | 4039 | to update the frame titles |
| @@ -5336,15 +5336,18 @@ x_set_offset (f, xoff, yoff, change_gravity) | |||
| 5336 | BLOCK_INPUT; | 5336 | BLOCK_INPUT; |
| 5337 | x_wm_set_size_hint (f, (long) 0, 0); | 5337 | x_wm_set_size_hint (f, (long) 0, 0); |
| 5338 | 5338 | ||
| 5339 | /* It is a mystery why we need to add the border_width here | ||
| 5340 | when the frame is already visible, but experiment says we do. */ | ||
| 5341 | modified_left = f->output_data.x->left_pos; | 5339 | modified_left = f->output_data.x->left_pos; |
| 5342 | modified_top = f->output_data.x->top_pos; | 5340 | modified_top = f->output_data.x->top_pos; |
| 5341 | #if 0 /* Running on psilocin (Debian), and displaying on the NCD X-terminal, | ||
| 5342 | this seems to be unnecessary and incorrect. rms, 4/17/97. */ | ||
| 5343 | /* It is a mystery why we need to add the border_width here | ||
| 5344 | when the frame is already visible, but experiment says we do. */ | ||
| 5343 | if (change_gravity != 0) | 5345 | if (change_gravity != 0) |
| 5344 | { | 5346 | { |
| 5345 | modified_left += f->output_data.x->border_width; | 5347 | modified_left += f->output_data.x->border_width; |
| 5346 | modified_top += f->output_data.x->border_width; | 5348 | modified_top += f->output_data.x->border_width; |
| 5347 | } | 5349 | } |
| 5350 | #endif | ||
| 5348 | 5351 | ||
| 5349 | #ifdef USE_X_TOOLKIT | 5352 | #ifdef USE_X_TOOLKIT |
| 5350 | XMoveWindow (FRAME_X_DISPLAY (f), XtWindow (f->output_data.x->widget), | 5353 | XMoveWindow (FRAME_X_DISPLAY (f), XtWindow (f->output_data.x->widget), |