Subject: Re: bug#22247: 24.4; ghost mouse pointer

From: Eli Zaretskii <[email-masked]>
Date: Sat, 26 Dec 2015 20:59:05 +0200

> Date: Sat, 26 Dec 2015 16:34:26 +0100
> From: Pierpaolo Bernardi <[email-masked]>
> 
> I use this function to move the mouse pointer out of my way:
> 
>     (defun move-cursor-out ()
>       (interactive)
>       (set-mouse-position (window-frame (frame-selected-window))
>                           (1+ (frame-width))
>                           0))
> 
>     (global-set-key [f12] 'move-cursor-out)
> 
> This works as intended on Unix/X.
> 
> On windows, the mouse pointer is moved in the right place, but a ghost
> image of the pointer is left behind in the old position *most of the
> times* (not always), thus vanifying the purpose of the code.

I cannot reproduce this, neither in Emacs 24.4 nor in the current
development version.

Does this happen you in "emacs -Q"?