From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: making mouse cursor disappear Date: Mon, 08 May 2006 10:45:50 +0200 Message-ID: <445F053E.1020301@swipnet.se> References: <20060504.141502.193686109.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147077990 7870 80.91.229.2 (8 May 2006 08:46:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 08:46:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 08 10:46:28 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fd1Nr-0001Lc-2B for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 10:46:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd1Nq-00013b-Cq for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 04:46:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fd1NL-00013V-EX for emacs-devel@gnu.org; Mon, 08 May 2006 04:45:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fd1NJ-000120-IE for emacs-devel@gnu.org; Mon, 08 May 2006 04:45:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd1NJ-00011r-9I for emacs-devel@gnu.org; Mon, 08 May 2006 04:45:53 -0400 Original-Received: from [213.50.74.197] (helo=smtp.operax.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1Fd1O6-0000hV-9M for emacs-devel@gnu.org; Mon, 08 May 2006 04:46:42 -0400 Original-Received: (qmail 30228 invoked by uid 0); 8 May 2006 08:45:51 -0000 Original-Received: from dentan.operax.com (HELO ?192.168.1.48?) (192.168.1.48) by treo.operax.com with SMTP; 8 May 2006 08:45:51 -0000 User-Agent: Thunderbird 1.5 (X11/20060313) Original-To: Werner LEMBERG In-Reply-To: <20060504.141502.193686109.wl@gnu.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54070 Archived-At: 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.