From: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: making mouse cursor disappear
Date: Mon, 08 May 2006 10:45:50 +0200 [thread overview]
Message-ID: <445F053E.1020301@swipnet.se> (raw)
In-Reply-To: <20060504.141502.193686109.wl@gnu.org>
Werner LEMBERG skrev:
> Using konsole on KDE, I see the mouse cursor disappear after a few
> seconds while the cursor stays in the konsole's window and isn't
> moved. Is something similar available within Emacs? I've searched
> for the word `disappear' but got nothing.
>
> It might be a useful addition to the `mouse-avoidance-mode' IMHO --
> and no, I can't code this myself due to lack of time :-)
I don't think you can do this now from the Lisp level. In C you create a
cursor with a 1x1 pixel bitmap with the mask set to 0 (see
XCreatePixmapCursor) and then install that cursor in the window in question.
Then you also have to restore the old cursor when the mouse moves.
Jan D.
next prev parent reply other threads:[~2006-05-08 8:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-04 12:15 making mouse cursor disappear Werner LEMBERG
2006-05-08 8:45 ` Jan Djärv [this message]
2006-05-08 13:03 ` Werner LEMBERG
2006-05-08 9:05 ` Romain Francoise
2006-05-08 9:08 ` David Kastrup
2006-05-08 13:01 ` Werner LEMBERG
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=445F053E.1020301@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@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).