mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/modeline: refocus after closing any posframe
This commit is contained in:
@ -195,11 +195,11 @@ buffers.")
|
|||||||
|
|
||||||
(add-hook 'focus-in-hook #'+modeline|focus-all-windows)
|
(add-hook 'focus-in-hook #'+modeline|focus-all-windows)
|
||||||
(add-hook 'focus-out-hook #'+modeline|unfocus-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)
|
(when (featurep! :completion helm)
|
||||||
(add-hook 'helm-before-initialize-hook #'+modeline|unfocus-all-windows)
|
(add-hook 'helm-before-initialize-hook #'+modeline|unfocus-all-windows)
|
||||||
(add-hook 'helm-cleanup-hook #'+modeline|focus-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))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user