From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: invisible mouse pointer? Date: Wed, 03 Dec 2008 18:46:29 +0100 Message-ID: <871vwpcft6.fsf@tux.homenetwork> References: <001701c9556c$9e613750$c2b22382@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228326787 20319 80.91.229.12 (3 Dec 2008 17:53:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 17:53:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 18:54:09 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7vuF-0002t9-Gf for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2008 18:52:59 +0100 Original-Received: from localhost ([127.0.0.1]:34413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7vt5-0007VQ-2I for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2008 12:51:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7vsz-0007U5-C5 for emacs-devel@gnu.org; Wed, 03 Dec 2008 12:51:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7vsx-0007Tk-Tw for emacs-devel@gnu.org; Wed, 03 Dec 2008 12:51:41 -0500 Original-Received: from [199.232.76.173] (port=48712 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7vsx-0007Th-OC for emacs-devel@gnu.org; Wed, 03 Dec 2008 12:51:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:37853 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7vsx-0001at-7l for emacs-devel@gnu.org; Wed, 03 Dec 2008 12:51:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L7vsn-0006vW-RM for emacs-devel@gnu.org; Wed, 03 Dec 2008 17:51:29 +0000 Original-Received: from 49.78.88-79.rev.gaoland.net ([79.88.78.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Dec 2008 17:51:29 +0000 Original-Received: from thierry.volpiatto by 49.78.88-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Dec 2008 17:51:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 49.78.88-79.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:iupHhNGEMdJ1JYyEn1OsQpceorU= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:106521 Archived-At: "Drew Adams" writes: > Is it possible to make the mouse pointer invisible (disappear)? > > I don't mean by, say, setting its color to the frame's background color on all > characters of a buffer's text. I mean by, say, setting `x-pointer-shape' to a > value (e.g. nil?) that (somehow) causes the pointer to disappear. > > I couldn't find anything about this, but it could be useful. Is there a good > workaround, if the feature doesn't exist? > > One use could be to have an on-demand mouse: hide the pointer until you move the > mouse (then hide it again after a timeout period). In some ways (for some > people), that might be better than mouse-avoidance mode, which just gets the > pointer out of the way without making it disappear. I know some that some > applications have such a feature - PowerPoint comes to mind, but I think I've > seen it elsewhere also. > > If this were implemented, it could be made available by setting > `x-pointer-shape' to some value, but then code would need to manage the > disappearance and re-appearance. Or `mouse-avoidance-mode' could perhaps have a > new value, `vanish', which would automatically manage the timeout etc. Hi! Drew, may be that can help: (i use it here on stumpwm and it work fine) but may be you want to do that only at the emacs level... ,---- | Homepage: http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README | Description: Hides mouse pointer while not in use. `---- -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France