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

(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." ...@@ -464,9 +464,7 @@ This returns ARGS with the arguments that have been processed removed."
(interactive) (interactive)
(if (eq (cdr (assq 'visibility (frame-parameters))) t) (if (eq (cdr (assq 'visibility (frame-parameters))) t)
(iconify-frame) (iconify-frame)
(let ((foo (selected-frame))) (make-frame-visible)))
(make-frame-invisible foo t)
(make-frame-visible foo))))
(substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
global-map) 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