[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20848: 24.5; window-state-put fails when strongly dedicated windows
From: |
martin rudalics |
Subject: |
bug#20848: 24.5; window-state-put fails when strongly dedicated windows are involved |
Date: |
Fri, 19 Jun 2015 17:15:11 +0200 |
> Is this a bug? If not, is there a way of working around this in a sane
> fashion (like, not removing the dedication status of the window)?
Do you mean we should apply the following patch?
martin
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -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