|
From: | Stefan Monnier |
Subject: | Re: [PATCH 2/2] avoid: ignore mouse when it is hidden |
Date: | Mon, 18 Oct 2010 17:10:58 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> (defun mouse-avoidance-ignore-p () > (let ((mp (mouse-position))) > - (or executing-kbd-macro ; don't check inside macro > + (or (not (frame-pointer-visible-p)) ; The pointer is hidden > + executing-kbd-macro ; don't check inside macro > (null (cadr mp)) ; don't move unless in an Emacs frame > (not (eq (car mp) (selected-frame))) > ;; Don't do anything if last event was a mouse event. Installed as well, Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |