From 8a96eef3f357234e2465ff28b72b7d1a8bf6a12f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 27 Jul 1993 22:01:29 +0000 Subject: [PATCH] (iconify-or-deiconify-frame): Make it work. --- lisp/term/x-win.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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." (interactive) (if (eq (cdr (assq 'visibility (frame-parameters))) t) (iconify-frame) - (make-frame-visible))) + (let ((foo (selected-frame))) + (make-frame-invisible foo) + (make-frame-visible foo)))) (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame global-map)