Commit 19479ae2 authored by Karl Heuer's avatar Karl Heuer

(iconify-or-deiconify-frame): Don't make invisible before making visible.

parent 33633b28
......@@ -464,9 +464,7 @@ This returns ARGS with the arguments that have been processed removed."
(interactive)
(if (eq (cdr (assq 'visibility (frame-parameters))) t)
(iconify-frame)
(let ((foo (selected-frame)))
(make-frame-invisible foo t)
(make-frame-visible foo))))
(make-frame-visible)))
(substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
global-map)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment