branch: externals/activities
commit 65bfb6f7f246a66a7b6209096c3a634430323758
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>

    Fix: (activities--windows-set) Pass 'safe to window-state-put
    
    Fixes #56.
    
    Suggested-by: Jelle Licht <https://github.com/jellelicht>
---
 README.org    | 1 +
 activities.el | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 528059774f..d1cce16e70 100644
--- a/README.org
+++ b/README.org
@@ -167,6 +167,7 @@ Nothing new yet.
 *Fixes*
 + Suspending/killing an activity when only one frame/tab is open.
 + Generation of Info manual on GNU ELPA.  (Thanks to Stefan Monnier.)
++ Ignore minimum window sizes and fixed size restrictions.  
([[https://github.com/alphapapa/activity.el/issues/56][#56]].  Thanks to 
[[https://github.com/jellelicht][Jelle Licht]].)
 
 ** v0.6
 
diff --git a/activities.el b/activities.el
index 5dcb908f7b..a03e2809de 100644
--- a/activities.el
+++ b/activities.el
@@ -649,7 +649,7 @@ activity's name is NAME."
     ;; function after handling the bookmark, we use an immediate timer to
     ;; set the window configuration.
     (run-at-time nil nil (lambda ()
-                           (window-state-put state (frame-root-window))))))
+                           (window-state-put state (frame-root-window) 
'safe)))))
 
 (defun activities--bufferize-window-state (state)
   "Return window state STATE with its buffers reincarnated."

Reply via email to