Handle buffer change after a buffer is killed
* exwm-manage.el (exwm-manage--kill-buffer-query-function): Handle buffer
change.
* exwm-workspace.el (exwm-workspace--show-minibuffer): Revert the change
made in 93e42136 (the problem has not been fully resolved).
This commit is contained in:
parent
93e42136e3
commit
fe9be0b3ef
2 changed files with 57 additions and 48 deletions
|
|
@ -513,7 +513,15 @@ The optional FORCE option is for internal use only."
|
|||
(make-instance 'xcb:MapWindow
|
||||
:window (frame-parameter exwm-workspace--minibuffer
|
||||
'exwm-container)))
|
||||
(xcb:flush exwm--connection))
|
||||
(xcb:flush exwm--connection)
|
||||
;; Unfortunately we need the following lines to workaround a cursor
|
||||
;; flickering issue for line-mode floating X windows. They just make the
|
||||
;; minibuffer appear to be focused.
|
||||
(with-current-buffer (window-buffer (minibuffer-window
|
||||
exwm-workspace--minibuffer))
|
||||
(setq cursor-in-non-selected-windows
|
||||
(frame-parameter exwm-workspace--minibuffer 'cursor-type))))
|
||||
|
||||
|
||||
(defun exwm-workspace--hide-minibuffer ()
|
||||
"Hide the minibuffer frame."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue