ui/modeline: refocus after closing any posframe

This commit is contained in:
Henrik Lissner 2018-08-10 19:30:08 +02:00
parent 3e7c85244b
commit a24e4f51cd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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))
;;