diff options
| author | Richard M. Stallman | 1996-12-26 21:07:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-12-26 21:07:30 +0000 |
| commit | 1e6bc770bdf7c163918d33712b32a48cd1adac05 (patch) | |
| tree | 50affc652498c10c6477b6bee3ced5dfe6ac35b7 /src | |
| parent | 98381e4289c6694853b4f1fbd2154eca0dc27069 (diff) | |
| download | emacs-1e6bc770bdf7c163918d33712b32a48cd1adac05.tar.gz emacs-1e6bc770bdf7c163918d33712b32a48cd1adac05.zip | |
(x_iconify_frame): Clear visible when we set iconified.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 434de4d5ff7..e7b96597207 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5527,7 +5527,9 @@ x_iconify_frame (f) | |||
| 5527 | that an invisible frame was changed to an icon, | 5527 | that an invisible frame was changed to an icon, |
| 5528 | so we have to record it here. */ | 5528 | so we have to record it here. */ |
| 5529 | f->iconified = 1; | 5529 | f->iconified = 1; |
| 5530 | f->visible = 1; | ||
| 5530 | f->async_iconified = 1; | 5531 | f->async_iconified = 1; |
| 5532 | f->async_visible = 0; | ||
| 5531 | UNBLOCK_INPUT; | 5533 | UNBLOCK_INPUT; |
| 5532 | return; | 5534 | return; |
| 5533 | } | 5535 | } |
| @@ -5541,6 +5543,8 @@ x_iconify_frame (f) | |||
| 5541 | error ("Can't notify window manager of iconification"); | 5543 | error ("Can't notify window manager of iconification"); |
| 5542 | 5544 | ||
| 5543 | f->async_iconified = 1; | 5545 | f->async_iconified = 1; |
| 5546 | f->async_visible = 0; | ||
| 5547 | |||
| 5544 | 5548 | ||
| 5545 | BLOCK_INPUT; | 5549 | BLOCK_INPUT; |
| 5546 | XFlush (FRAME_X_DISPLAY (f)); | 5550 | XFlush (FRAME_X_DISPLAY (f)); |
| @@ -5588,6 +5592,7 @@ x_iconify_frame (f) | |||
| 5588 | } | 5592 | } |
| 5589 | 5593 | ||
| 5590 | f->async_iconified = 1; | 5594 | f->async_iconified = 1; |
| 5595 | f->async_visible = 0; | ||
| 5591 | 5596 | ||
| 5592 | XFlush (FRAME_X_DISPLAY (f)); | 5597 | XFlush (FRAME_X_DISPLAY (f)); |
| 5593 | UNBLOCK_INPUT; | 5598 | UNBLOCK_INPUT; |