diff options
author | Matt Beshara <m@mfa.pw> | 2021-10-02T04·28+1000 |
---|---|---|
committer | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2021-10-25T16·05-0400 |
commit | d0b0b38c8709c9d429b3697aea30814717d802d7 (patch) | |
tree | d93eab0ac0bb97da88d0b22bc83929aaf55e8f1b | |
parent | 8905e85d34082e6a0a175edc9954eb2d8d0e1473 (diff) |
Explicitly remove workspace frames from client-p cache when deleted
* exwm-workspace.el (exwm-workspace--on-delete-frame): Clean up hash table entries upon removing a workspace.
-rw-r--r-- | exwm-workspace.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el index ddf20ea4092e..996d33f4950b 100644 --- a/exwm-workspace.el +++ b/exwm-workspace.el @@ -1469,7 +1469,8 @@ the next workspace." ;; care of converting a workspace into a regular unmanaged frame. (let ((exwm-workspace--create-silently t)) (make-frame))) - (exwm-workspace--remove-frame-as-workspace frame)))) + (exwm-workspace--remove-frame-as-workspace frame) + (remhash frame exwm--client-p-hash-table)))) (defun exwm-workspace--on-after-make-frame (frame) "Hook run upon `make-frame' that configures FRAME as a workspace." |