From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: making mouse cursor disappear Date: Mon, 08 May 2006 15:03:17 +0200 (CEST) Message-ID: <20060508.150317.28793609.wl@gnu.org> References: <20060504.141502.193686109.wl@gnu.org> <445F053E.1020301@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147093451 23975 80.91.229.2 (8 May 2006 13:04:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 13:04:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 08 15:04:10 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 1Fd5Ox-0007p7-DW for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 15:03:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd5Ow-0001wd-Uz for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 09:03:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fd5Oj-0001w9-5w for emacs-devel@gnu.org; Mon, 08 May 2006 09:03:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fd5Oh-0001vt-MY for emacs-devel@gnu.org; Mon, 08 May 2006 09:03:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd5Oh-0001vq-Gr for emacs-devel@gnu.org; Mon, 08 May 2006 09:03:35 -0400 Original-Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fd5PX-00074Q-3M for emacs-devel@gnu.org; Mon, 08 May 2006 09:04:27 -0400 Original-Received: from [84.175.196.95] (helo=localhost) by mrelayeu.kundenserver.de (node=mrelayeu10) with ESMTP (Nemesis), id 0ML31I-1Fd5Ob3eNs-0006Ea; Mon, 08 May 2006 15:03:30 +0200 Original-To: jan.h.d@swipnet.se In-Reply-To: <445F053E.1020301@swipnet.se> X-Mailer: Mew version 5.0.50 on Emacs 22.0.50.1 / Mule 5.0 (SAKAKI) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:2dc398bc694a1e60948148ba0a42c0da 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:54089 Archived-At: > > 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. Thanks for the information. Maybe this can be put into a `ideas after the next release' file. Werner