GNU bug report logs - #22247
24.4; ghost mouse pointer

Previous Next

Package: emacs;

Reported by: Pierpaolo Bernardi <olopierpa <at> gmail.com>

Date: Sat, 26 Dec 2015 18:32:01 UTC

Severity: minor

Tags: moreinfo

Found in version 24.4

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierpaolo Bernardi <olopierpa <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; ghost mouse pointer
Date: Sat, 26 Dec 2015 16:34:26 +0100
In GNU Emacs 24.4.1 (i686-pc-mingw32)
 of 2014-10-24 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.2.9200
Configured using:
 `configure --prefix=/c/usr'

(But also in older versions both of Emacs and of Windows. This is
present since the first time I used Emacs on windows, around 15 years
ago).

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.

Thanks!




This bug report was last modified 8 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.