Subject: bug#44108: Patch for this bug

From: Boruch Baum <[email-masked]>
Date: Thu, 22 Oct 2020 03:45:09 -0400

Attached.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
diff --git a/calc.el b/calc.el
index 4bebd5f..90dcce6 100644
--- a/calc.el
+++ b/calc.el
@@ -1472,6 +1472,7 @@ commands given here will actually operate on the *Calculator* stack."
       (and (windowp full-display)
            (window-point full-display)
            (select-window full-display))
+      (set-window-dedicated-p nil t)
       (calc-check-defines)
       (when (and calc-said-hello interactive)
         (sit-for 2)
@@ -2136,7 +2137,8 @@ the United States."
               (if calc-trail-window-hook
                   (run-hooks 'calc-trail-window-hook)
                 (let ((w (split-window nil (/ (* (window-width) 2) 3) t)))
-                  (set-window-buffer w calc-trail-buffer)))
+                  (set-window-buffer w calc-trail-buffer)
+                  (set-window-dedicated-p w t)))
               (calc-wrapper
                (setq overlay-arrow-string calc-trail-overlay
                      overlay-arrow-position calc-trail-pointer)