exwm
exwm copied to clipboard
Cannot delete a surrogate minibuffer frame
So, I don't know what causes this at all, but every now and then I'll run into an issue where I am unable to delete a workspace. I can run exwm-workspace-switch to pull up the interface to either move to a new workspace, or delete the current one by hitting -. When I hit the minus key I get the message Error running timer ‘delete-frame’: (error "Attempt to delete a surrogate minibuffer frame") echoed in the minibuffer and appended to messages. Attempting to run exwm-workspace-delete gives the same error messages.
The truly bizarre thing is that the only buffer I have open on this workspace is scratch.
I am using NixOS 19.03 with the latest version of EXWM and EXLB pulled from Github.
Thanks for the report. Please checkout fe8ee3c5786bf8c1c69cef1b2ad6bb6b2d785a6d.
I get the same behavior with exwm 0.26 and emacs 27.2.50 I have 28 workspaces, created by exwm itself on startup (somehow) and I can't delete any of them.
Edit: I can delete the workspaces by calling exwm-workspace-switch, and moving the list of available workspaces with left and right (without actually switching to any of them) and pressing -.
What I cannot do, and I subsequently get the above error, is switch to a workspace and call exwm-workspace-delete from it.