ui/modeline: refocus after closing any posframe
This commit is contained in:
parent
3e7c85244b
commit
a24e4f51cd
1 changed files with 3 additions and 3 deletions
|
@ -195,11 +195,11 @@ buffers.")
|
|||
|
||||
(add-hook 'focus-in-hook #'+modeline|focus-all-windows)
|
||||
(add-hook 'focus-out-hook #'+modeline|unfocus-all-windows)
|
||||
(advice-add #'posframe-hide :after #'+modeline|focus-all-windows)
|
||||
(advice-add #'posframe-delete :after #'+modeline|focus-all-windows)
|
||||
(when (featurep! :completion helm)
|
||||
(add-hook 'helm-before-initialize-hook #'+modeline|unfocus-all-windows)
|
||||
(add-hook 'helm-cleanup-hook #'+modeline|focus-all-windows)
|
||||
(advice-add #'posframe-hide :after #'+modeline|focus-all-windows)
|
||||
(advice-add #'posframe-delete :after #'+modeline|focus-all-windows))
|
||||
(add-hook 'helm-cleanup-hook #'+modeline|focus-all-windows))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue