diff --git a/core/core-ui.el b/core/core-ui.el index b66736b1a..a2b8c1590 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -309,7 +309,6 @@ with `doom//reload-theme').") (run-hook-with-args 'doom-after-switch-frame-hook)))) (defun doom*switch-window-hooks (orig-fn window &optional norecord) (if (or (eq window (selected-window)) - (memq this-command '(mouse-set-point evil-mouse-drag-region)) (window-minibuffer-p) (window-minibuffer-p window)) (funcall orig-fn window norecord) diff --git a/modules/ui/nav-flash/autoload.el b/modules/ui/nav-flash/autoload.el index 980e129c7..97d42091b 100644 --- a/modules/ui/nav-flash/autoload.el +++ b/modules/ui/nav-flash/autoload.el @@ -16,7 +16,8 @@ (defun +nav-flash/blink-cursor (&rest _) "Blink current line using `nav-flash'." (interactive) - (unless (minibufferp) + (unless (or (minibufferp) + (memq this-command '(mouse-set-point evil-mouse-drag-region))) (nav-flash-show) ;; only show in the current window (overlay-put compilation-highlight-overlay 'window (selected-window))))