1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New port: xnodecor (x11 utility on OverrideRedirect attribute)

Xnodecor is an x11 utility by which a user can make an
	window manager ignores his/her specified applications.  Such
	applications (e.g. clocks) appear without their border and
	title bar, are skipped in keyboard focus-circulation, and
	are sticky for flippng over multiple virtual screens.  This
	may be convenient for a user using a simple window manager
	such as wmx.

PR:		ports/45329
Submitted by:	Katsura Matsumoto <katsura@cc.okayama-u.ac.jp>
This commit is contained in:
Edwin Groothuis 2003-09-08 07:08:14 +00:00
parent 7870753520
commit f4d7b17dda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88747
7 changed files with 67 additions and 0 deletions

View File

@ -161,6 +161,7 @@
SUBDIR += xmsg
SUBDIR += xmx
SUBDIR += xnee
SUBDIR += xnodecor
SUBDIR += xprompt
SUBDIR += xrootconsole
SUBDIR += xscreensaver

25
x11/xnodecor/Makefile Normal file
View File

@ -0,0 +1,25 @@
# New ports collection makefile for: xnodecor
# Date created: 15 November 2002
# Whom: Katsura Matsumoto <katsura@cc.okayama-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= xnodecor
PORTVERSION= 0.1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.42.org/pub/wmx/contrib/
DISTFILES= xnodecor.c
MAINTAINER= katsura@cc.okayama-u.ac.jp
COMMENT= Utility to set override_redirect in XWindowAttributes to True
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${FILESDIR}/Makefile ${WRKDIR}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
.include <bsd.port.mk>

1
x11/xnodecor/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xnodecor.c) = 0ad4261c221a221afc173f264b979ea1

View File

@ -0,0 +1,15 @@
# $FreeBSD$
CFLAGS= -I${X11BASE}/include
LDFLAGS= -L${X11BASE}/lib
LIBS= -lX11
all: xnodecor
xnodecor:
$(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS)
install:
${BSD_INSTALL_PROGRAM} xnodecor ${X11BASE}/bin
clean:
rm -f *.rej a.out core xnodecor

View File

@ -0,0 +1,12 @@
--- xnodecor.c.orig Wed Jan 13 01:55:20 1999
+++ xnodecor.c Mon Nov 11 23:15:42 2002
@@ -39,7 +39,8 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
-
+#include <unistd.h>
+
#define WAIT_DEFAULT 0
#define WAIT_TIMEOUT 15
#define VERBOSE_DEFAULT 0

12
x11/xnodecor/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
This program sets attribute "override_redirect" to True for any window
you've specified (using window name). Window Managers should ignore
such windows; it's useful, for example, if you're using wmx Window Manager,
and want to have a clock on every virtual screen and without any
borders. Just add the following string to your X-startfile (after
starting watch app):
xnodecor -w watch
(assuming that your watch application has a window named "watch")
WWW: http://sb.123.org/xnodecor.html

1
x11/xnodecor/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/xnodecor