add w9wm port; From: William Yodlowsky <wyodlows@nj.devry.edu>
-- a hacked 9wm that provides support for virtual screens
This commit is contained in:
parent
9da3c15726
commit
f8c32ff78f
20
plan9/w9wm/Makefile
Normal file
20
plan9/w9wm/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/08/18 19:05:26 brad Exp $
|
||||
|
||||
DISTNAME= w9wm-0.1
|
||||
CATEGORIES= plan9
|
||||
NEED_VERSION= 1.319
|
||||
MASTER_SITES= http://inferno.cs.univ-paris8.fr/~drieu/w9wm/
|
||||
|
||||
MAINTAINER= wyodlows@nj.devry.edu
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= imake
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKSRC} && mv -f 9wm.man w9wm.man
|
||||
|
||||
.include <bsd.port.mk>
|
3
plan9/w9wm/files/md5
Normal file
3
plan9/w9wm/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (w9wm-0.1.tar.gz) = 4d2903574d354048e574f3337c27bf71
|
||||
RMD160 (w9wm-0.1.tar.gz) = 5e3c59f190536d360f5c8325767797219f44d5a3
|
||||
SHA1 (w9wm-0.1.tar.gz) = 8f2c30aad98fe0ff86366d212a77b56e788c3b01
|
11
plan9/w9wm/patches/patch-9wm.c
Normal file
11
plan9/w9wm/patches/patch-9wm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- 9wm.c.orig Sat May 27 11:20:14 2000
|
||||
+++ 9wm.c Fri Aug 18 14:54:24 2000
|
||||
@@ -472,7 +472,7 @@
|
||||
case NormalState:
|
||||
XMapRaised(dpy, c->parent);
|
||||
XMapWindow(dpy, c->window);
|
||||
- setstate(c, NormalState);
|
||||
+ _setstate(c, NormalState);
|
||||
if (c->trans != None && current && c->trans == current->window)
|
||||
active(c);
|
||||
break;
|
11
plan9/w9wm/patches/patch-fns.h
Normal file
11
plan9/w9wm/patches/patch-fns.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- fns.h.orig Sat May 27 11:01:17 2000
|
||||
+++ fns.h Fri Aug 18 14:54:25 2000
|
||||
@@ -31,7 +31,7 @@
|
||||
Window getwprop();
|
||||
int getiprop();
|
||||
int getstate();
|
||||
-void setstate();
|
||||
+void _setstate();
|
||||
void setlabel();
|
||||
void getproto();
|
||||
void gettrans();
|
29
plan9/w9wm/patches/patch-manage.c
Normal file
29
plan9/w9wm/patches/patch-manage.c
Normal file
@ -0,0 +1,29 @@
|
||||
--- manage.c.orig Sat May 27 10:05:36 2000
|
||||
+++ manage.c Fri Aug 18 14:54:25 2000
|
||||
@@ -131,7 +131,7 @@
|
||||
active(c);
|
||||
else
|
||||
setactive(c, 0);
|
||||
- setstate(c, NormalState);
|
||||
+ _setstate(c, NormalState);
|
||||
}
|
||||
if (current != c)
|
||||
cmapfocus(current);
|
||||
@@ -161,7 +161,7 @@
|
||||
XReparentWindow(dpy, c->window, root, c->x, c->y);
|
||||
gravitate(c, 0);
|
||||
XRemoveFromSaveSet(dpy, c->window);
|
||||
- setstate(c, WithdrawnState);
|
||||
+ _setstate(c, WithdrawnState);
|
||||
|
||||
/* flush any errors */
|
||||
ignore_badwindow = 1;
|
||||
@@ -417,7 +417,7 @@
|
||||
}
|
||||
|
||||
void
|
||||
-setstate(c, state)
|
||||
+_setstate(c, state)
|
||||
Client *c;
|
||||
int state;
|
||||
{
|
38
plan9/w9wm/patches/patch-menu.c
Normal file
38
plan9/w9wm/patches/patch-menu.c
Normal file
@ -0,0 +1,38 @@
|
||||
--- menu.c.orig Sat May 27 11:50:16 2000
|
||||
+++ menu.c Fri Aug 18 14:54:25 2000
|
||||
@@ -172,7 +172,7 @@
|
||||
{
|
||||
XUnmapWindow(dpy, c->parent);
|
||||
XUnmapWindow(dpy, c->window);
|
||||
- setstate(c, IconicState);
|
||||
+ _setstate(c, IconicState);
|
||||
if (c == current)
|
||||
nofocus();
|
||||
}
|
||||
@@ -186,7 +186,7 @@
|
||||
{
|
||||
XMapWindow(dpy, c->window);
|
||||
XMapWindow(dpy, c->parent);
|
||||
- setstate(c, NormalState);
|
||||
+ _setstate(c, NormalState);
|
||||
if (currents[virtual] == c)
|
||||
active(c);
|
||||
}
|
||||
@@ -281,7 +281,7 @@
|
||||
}
|
||||
XUnmapWindow(dpy, c->parent);
|
||||
XUnmapWindow(dpy, c->window);
|
||||
- setstate(c, IconicState);
|
||||
+ _setstate(c, IconicState);
|
||||
if (c == current)
|
||||
nofocus();
|
||||
hiddenc[numhidden] = c;
|
||||
@@ -312,7 +312,7 @@
|
||||
if (map) {
|
||||
XMapWindow(dpy, c->window);
|
||||
XMapRaised(dpy, c->parent);
|
||||
- setstate(c, NormalState);
|
||||
+ _setstate(c, NormalState);
|
||||
active(c);
|
||||
}
|
||||
|
1
plan9/w9wm/pkg/COMMENT
Normal file
1
plan9/w9wm/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
a hacked 9wm that provides support for virtual screens
|
9
plan9/w9wm/pkg/DESCR
Normal file
9
plan9/w9wm/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
w9wm is a quick & dirty hack based on 9wm and provides support for virtual
|
||||
screens.
|
||||
|
||||
w9wm could at first looks ugly, but it is very light and usable. Try it
|
||||
and you won't use another window manager again.
|
||||
|
||||
Its name comes from the original author's will to change the name for all
|
||||
derived works based on 9wm. v9wm was already in use for another virtual
|
||||
screen hack, so...
|
3
plan9/w9wm/pkg/PLIST
Normal file
3
plan9/w9wm/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/08/18 19:05:26 brad Exp $
|
||||
bin/w9wm
|
||||
man/cat1/w9wm.0
|
Loading…
x
Reference in New Issue
Block a user