diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-31 07:37:09 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-31 07:37:09 +0000 |
commit | d04f2878746476b22ccb0b5b9979bf5d3dc885fa (patch) | |
tree | 7d328a39dd54529fb8e9f676443d5428f08cb8e8 /src | |
parent | 9ec9ecc3522ef3e2f5763e305a385cfdee7dcb82 (diff) | |
download | emacs-d04f2878746476b22ccb0b5b9979bf5d3dc885fa.tar.gz |
(process_expose_from_menu, XTread_socket):
Set has_been_visible field.
(x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 76ebbe641d2..e1b7937bc2c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3522,6 +3522,7 @@ process_expose_from_menu (event) { f->async_visible = 1; f->async_iconified = 0; + f->output_data.x->has_been_visible = 1; SET_FRAME_GARBAGED (f); } else @@ -3956,6 +3957,7 @@ XTread_socket (sd, bufp, numchars, expected) { f->async_visible = 1; f->async_iconified = 0; + f->output_data.x->has_been_visible = 1; SET_FRAME_GARBAGED (f); } else @@ -4036,6 +4038,7 @@ XTread_socket (sd, bufp, numchars, expected) { f->async_visible = 1; f->async_iconified = 0; + f->output_data.x->has_been_visible = 1; /* wait_reading_process_input will notice this and update the frame's display structures. */ @@ -5676,7 +5679,8 @@ x_make_frame_visible (f) that is 3 pixels too low. Perhaps that's really the border width. */ if (! FRAME_VISIBLE_P (f) - && f->output_data.x->win_gravity == NorthWestGravity) + && f->output_data.x->win_gravity == NorthWestGravity + && f->output_data.x->has_been_visible) { BLOCK_INPUT; |