Import of unclutter-8.

Submitted by Brian J. Kifiak <bk@rt.fm>.

Small program to remove idle cursor image from screen.
This commit is contained in:
naddy 2001-05-18 12:43:28 +00:00
parent 33de4c9a18
commit 4fc780ce95
4 changed files with 43 additions and 0 deletions

22
x11/unclutter/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/05/18 12:43:28 naddy Exp $
COMMENT= "hides idle X11 cursor"
DISTNAME= unclutter-8
CATEGORIES= x11
NEED_VERSION= 1.402
MAINTAINER= Brian J. Kifiak <bk@rt.fm>
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= utilities
EXTRACT_SUFX= .tar.Z
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKSRC= ${WRKDIR}/unclutter
CONFIGURE_STYLE=imake
.include <bsd.port.mk>

3
x11/unclutter/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (unclutter-8.tar.Z) = 83d7a6498b69078f869378f801b6a84b
RMD160 (unclutter-8.tar.Z) = a78b6e148e7eea8f33b6fe0d6db3ad570889770d
SHA1 (unclutter-8.tar.Z) = 726e829b41e9cb4d6a14cd91ca7efa02125be2be

15
x11/unclutter/pkg/DESCR Normal file
View File

@ -0,0 +1,15 @@
unclutter is a program which runs permanently in the background of an X11
session. It checks on the X11 pointer (cursor) position every few seconds, and
when it finds it has not moved (and no buttons are pressed on the mouse, and
the cursor is not in the root window) it creates a small sub-window as a child
of the window the cursor is in. The new window installs a cursor of size 1x1
but a mask of all 0, ie an invisible cursor. This allows you to see all the
text in an xterm or xedit, for example. The human factors crowd would agree it
should make things less distracting.
Once created, the program waits for the pointer to leave the window and then
destroys it, restoring the original situation. Button events are passed
transparently through to the parent window. They will usually cause the cursor
to reappear because an active grab will be made by the program while the button
is down, so the pointer will apparently leave the window, even though its x-y
position doesn't change.

3
x11/unclutter/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/05/18 12:43:28 naddy Exp $
bin/unclutter
man/cat1/unclutter.0