Closed zhenhua-wang closed 1 year ago
I find out that the exwm-geometry
does not get updated after (exwm-workspace-detach-minibuffer)
As a temporary fix, I force exwm-geometry
to have screen width and height before updating workareas
(defun exwm-workspace-detach-minibuffer ()
"Detach the minibuffer so that it automatically hides."
(interactive)
(exwm--log)
(when (and (exwm-workspace--minibuffer-own-frame-p)
(exwm-workspace--minibuffer-attached-p))
(setq exwm-workspace--attached-minibuffer-height 0)
(let ((container (frame-parameter exwm-workspace--minibuffer
'exwm-container)))
(dolist (f exwm-workspace--list)
(set-frame-parameter f 'exwm-geometry
(make-instance 'xcb:RECTANGLE
:x 0
:y 0
:width (x-display-pixel-width)
:height (x-display-pixel-height))))
(setq exwm-workspace--id-struts-alist
(assq-delete-all container exwm-workspace--id-struts-alist))
(exwm-workspace--update-struts)
(exwm-workspace--update-workareas)
(dolist (f exwm-workspace--list)
(exwm-workspace--set-fullscreen f))
(exwm-workspace--hide-minibuffer))))
Thank you for the report and the workaround. I think that I found the cause (an error in 67c5b316b). Please, test latest master (8cab6c03fa2cc59d5863f5cc67197d480452c22a).
By the way, thank you for testing latest EXWM. I'm looking for people willing to test specific areas of EXWM, please see https://github.com/ch11ng/exwm/wiki/Maintenance#exwms-testing-team. Would you like to enroll for the minibuffer and general (or other) areas? (To be clear, I don't think we'd have catched this one earlier...)
Thanks for the quick fix. The latest master works very well!
By the way, thank you for testing latest EXWM. I'm looking for people willing to test specific areas of EXWM, please see https://github.com/ch11ng/exwm/wiki/Maintenance#exwms-testing-team. Would you like to enroll for the minibuffer and general (or other) areas? (To be clear, I don't think we'd have catched this one earlier...)
This sound great to me. I can certainly help to test for the general and minibuffer feature. Thanks!
Emacs main frame does not resize correctly after merging this commit.
When
exwm-workspace-minibuffer-position
isbottom
,exwm-workspace-toggle-minibuffer
would leave a line of blank space at the bottom (minibuffer position).