In ‘window-state-put’ undedicate target window. (Bug#20848)

* lisp/window.el (window-state-put): Undedicate target window
before putting STATE into it.  (Bug#20848)
This commit is contained in:
Martin Rudalics 2015-06-20 10:16:07 +02:00
parent f95211e9a4
commit 1338482473

View file

@ -5375,6 +5375,8 @@ windows can get as small as `window-safe-min-height' and
root))))
(delete-other-windows-internal window root)))
(set-window-dedicated-p window nil)
(let* ((frame (window-frame window))
(head (car state))
;; We check here (1) whether the total sizes of root window of