unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierpaolo Bernardi <olopierpa@gmail.com>
To: 22247@debbugs.gnu.org
Subject: bug#22247: 24.4; ghost mouse pointer
Date: Sat, 26 Dec 2015 16:34:26 +0100	[thread overview]
Message-ID: <CANY8u7GpByxp6RMYcs4veKiEQ19JVc7zKDOx4nJVeivFSvpx8Q@mail.gmail.com> (raw)

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!





             reply	other threads:[~2015-12-26 15:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 15:34 Pierpaolo Bernardi [this message]
2015-12-26 18:59 ` bug#22247: 24.4; ghost mouse pointer Eli Zaretskii
2015-12-26 21:40   ` Pierpaolo Bernardi
2015-12-27 16:08     ` Eli Zaretskii
2015-12-27 16:58       ` Pierpaolo Bernardi
2015-12-27 17:11         ` Eli Zaretskii
2015-12-27 17:22           ` Pierpaolo Bernardi
2015-12-27 17:36             ` Eli Zaretskii
2015-12-27 17:44               ` Pierpaolo Bernardi
2015-12-27 18:18                 ` Eli Zaretskii
2015-12-27 18:54                   ` Eli Zaretskii
2015-12-28 22:15                     ` Pierpaolo Bernardi
2016-12-07 20:22                     ` Glenn Morris
2015-12-27 16:05 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANY8u7GpByxp6RMYcs4veKiEQ19JVc7zKDOx4nJVeivFSvpx8Q@mail.gmail.com \
    --to=olopierpa@gmail.com \
    --cc=22247@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).