diff options
| -rw-r--r-- | lisp/term/x-win.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 3fe85424e3f..5ff135d1a3a 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -464,7 +464,9 @@ This returns ARGS with the arguments that have been processed removed." | |||
| 464 | (interactive) | 464 | (interactive) |
| 465 | (if (eq (cdr (assq 'visibility (frame-parameters))) t) | 465 | (if (eq (cdr (assq 'visibility (frame-parameters))) t) |
| 466 | (iconify-frame) | 466 | (iconify-frame) |
| 467 | (make-frame-visible))) | 467 | (let ((foo (selected-frame))) |
| 468 | (make-frame-invisible foo) | ||
| 469 | (make-frame-visible foo)))) | ||
| 468 | 470 | ||
| 469 | (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame | 471 | (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame |
| 470 | global-map) | 472 | global-map) |