Common subdirectories: 2006-10-17.org//dmenu and 2006-10-17//dmenu Common subdirectories: 2006-10-17.org//dwm and 2006-10-17//dwm Common subdirectories: 2006-10-17.org//libixp and 2006-10-17//libixp Common subdirectories: 2006-10-17.org//wmii and 2006-10-17//wmii Common subdirectories: 2006-10-17.org//wmii-3 and 2006-10-17//wmii-3 diff -ru 2006-10-17.org//dmenu/config.mk 2006-10-17//dmenu/config.mk --- 2006-10-17.org//dmenu/config.mk Thu Oct 12 13:00:01 2006 +++ 2006-10-17//dmenu/config.mk Tue Oct 17 17:03:52 2006 @@ -15,11 +15,16 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} +#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} +# Solaris +CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} +CFLAGS += -xtarget=ultra + # compiler and linker CC = cc LD = ${CC} Only in 2006-10-17.org//dmenu: dmenu Only in 2006-10-17.org//dmenu: draw.o Only in 2006-10-17.org//dmenu: main.o Only in 2006-10-17.org//dmenu: util.o Only in 2006-10-17//dwm: config.h diff -ru 2006-10-17.org//dwm/config.mk 2006-10-17//dwm/config.mk --- 2006-10-17.org//dwm/config.mk Mon Oct 16 17:00:02 2006 +++ 2006-10-17//dwm/config.mk Tue Oct 17 17:04:14 2006 @@ -15,11 +15,16 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} +#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} +# Solaris +CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} +CFLAGS += -xtarget=ultra + # compiler and linker CC = cc LD = ${CC} diff -ru 2006-10-17.org//libixp/config.mk 2006-10-17//libixp/config.mk --- 2006-10-17.org//libixp/config.mk Thu Oct 12 17:00:02 2006 +++ 2006-10-17//libixp/config.mk Tue Oct 17 17:04:37 2006 @@ -12,11 +12,17 @@ LIBS = -L/usr/lib -lc -L. # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} +#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} +# Solaris +CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} +LIBS += -lsocket -lnsl +CFLAGS += -xtarget=ultra + # compiler and linker AR = ar cr CC = cc diff -ru 2006-10-17.org//libixp/ixp.h 2006-10-17//libixp/ixp.h --- 2006-10-17.org//libixp/ixp.h Thu Oct 12 17:00:02 2006 +++ 2006-10-17//libixp/ixp.h Tue Oct 17 17:10:22 2006 @@ -159,54 +159,54 @@ unsigned char type; unsigned short tag; unsigned int fid; - union { - struct { /* Tversion, Rversion */ +// union { +// struct { /* Tversion, Rversion */ unsigned int msize; char *version; - }; - struct { /* Tflush */ +// }; +// struct { /* Tflush */ unsigned short oldtag; - }; - struct { /* Rerror */ +// }; +// struct { /* Rerror */ char *ename; - }; - struct { /* Ropen, Rcreate */ +// }; +// struct { /* Ropen, Rcreate */ Qid qid; /* +Rattach */ unsigned int iounit; - }; - struct { /* Rauth */ +// }; +// struct { /* Rauth */ Qid aqid; - }; - struct { /* Tauth, Tattach */ +// }; +// struct { /* Tauth, Tattach */ unsigned int afid; char *uname; char *aname; - }; - struct { /* Tcreate */ +// }; +// struct { /* Tcreate */ unsigned int perm; char *name; unsigned char mode; /* +Topen */ - }; - struct { /* Twalk */ +// }; +// struct { /* Twalk */ unsigned int newfid; unsigned short nwname; char *wname[IXP_MAX_WELEM]; - }; - struct { /* Rwalk */ +// }; +// struct { /* Rwalk */ unsigned short nwqid; Qid wqid[IXP_MAX_WELEM]; - }; - struct { /* Twrite */ +// }; +// struct { /* Twrite */ unsigned long long offset; /* +Tread */ /* +Rread */ unsigned int count; /* +Tread */ char *data; - }; - struct { /* Twstat, Rstat */ +// }; +// struct { /* Twstat, Rstat */ unsigned short nstat; unsigned char *stat; - }; - }; +// }; +// }; } Fcall; typedef struct IXPServer IXPServer; diff -ru 2006-10-17.org//wmii/config.mk 2006-10-17//wmii/config.mk --- 2006-10-17.org//wmii/config.mk Mon Oct 16 15:00:04 2006 +++ 2006-10-17//wmii/config.mk Tue Oct 17 17:19:29 2006 @@ -16,11 +16,17 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -L${PREFIX}/lib -lixp -lm # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} +#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} +# Solaris +CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} +LDFLAGS += -lsocket -lnsl +CFLAGS += -xtarget=ultra + # compiler and linker CC = cc LD = ${CC} diff -ru 2006-10-17.org//wmii/event.c 2006-10-17//wmii/event.c --- 2006-10-17.org//wmii/event.c Thu Oct 12 17:00:04 2006 +++ 2006-10-17//wmii/event.c Tue Oct 17 17:16:55 2006 @@ -61,13 +61,17 @@ XButtonPressedEvent *ev = &e->xbutton; if(ev->window == screen->barwin) { for(b=screen->lbar; b; b=b->next) - if(ispointinrect(ev->x, ev->y, &b->brush.rect)) - return write_event("LeftBarClick %d %s\n", + if(ispointinrect(ev->x, ev->y, &b->brush.rect)) { + write_event("LeftBarClick %d %s\n", ev->button, b->name); + return; + } for(b=screen->rbar; b; b=b->next) - if(ispointinrect(ev->x, ev->y, &b->brush.rect)) - return write_event("RightBarClick %d %s\n", + if(ispointinrect(ev->x, ev->y, &b->brush.rect)) { + write_event("RightBarClick %d %s\n", ev->button, b->name); + return; + } } else if((f = frame_of_win(ev->window))) write_event("ClientClick %d %d\n", idx_of_client(f->client), ev->button); diff -ru 2006-10-17.org//wmii/fs.c 2006-10-17//wmii/fs.c --- 2006-10-17.org//wmii/fs.c Mon Oct 16 18:00:06 2006 +++ 2006-10-17//wmii/fs.c Tue Oct 17 17:17:17 2006 @@ -29,7 +29,7 @@ typedef struct FileId FileId; struct FileId { FileId *next; - union { +// union { void *ref; char *buf; Bar *bar; @@ -38,7 +38,7 @@ Client *client; Ruleset *rule; BlitzColor *col; - }; +// }; unsigned int id; unsigned int index; Dirtab tab; Common subdirectories: 2006-10-17.org//wmii/rc and 2006-10-17//wmii/rc diff -ru 2006-10-17.org//wmii/wmii 2006-10-17//wmii/wmii --- 2006-10-17.org//wmii/wmii Thu Oct 12 17:00:04 2006 +++ 2006-10-17//wmii/wmii Tue Oct 17 17:14:10 2006 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # start wmiiwm and wait for its termination WMII_CONFPATH="$HOME/.wmii-VERSION:CONFPREFIX/wmii-VERSION" export WMII_CONFPATH diff -ru 2006-10-17.org//wmii/rc/wmiirc 2006-10-17//wmii/rc/wmiirc --- 2006-10-17.org//wmii/rc/wmiirc Thu Oct 12 17:00:04 2006 +++ 2006-10-17//wmii/rc/wmiirc Tue Oct 17 17:13:06 2006 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # configure wmii xwrite() { Common subdirectories: 2006-10-17.org//wmii-3/cmd and 2006-10-17//wmii-3/cmd diff -ru 2006-10-17.org//wmii-3/config.mk 2006-10-17//wmii-3/config.mk --- 2006-10-17.org//wmii-3/config.mk Tue Jun 27 06:00:03 2006 +++ 2006-10-17//wmii-3/config.mk Tue Oct 17 17:07:32 2006 @@ -14,13 +14,16 @@ LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 # Linux/BSD -CFLAGS = -g -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ - -DVERSION=\"${VERSION}\" -LDFLAGS = -g ${LIBS} +#CFLAGS = -g -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ +# -DVERSION=\"${VERSION}\" +#LDFLAGS = -g ${LIBS} # Solaris -#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\" -#LIBS += -lnsl -lsocket +CFLAGS = -fast -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ + -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} +LIBS += -lsocket -lnsl +CFLAGS += -xtarget=ultra AR = ar cr CC = cc Common subdirectories: 2006-10-17.org//wmii-3/doc and 2006-10-17//wmii-3/doc Common subdirectories: 2006-10-17.org//wmii-3/extra and 2006-10-17//wmii-3/extra Common subdirectories: 2006-10-17.org//wmii-3/libcext and 2006-10-17//wmii-3/libcext Common subdirectories: 2006-10-17.org//wmii-3/libixp and 2006-10-17//wmii-3/libixp Common subdirectories: 2006-10-17.org//wmii-3/liblitz and 2006-10-17//wmii-3/liblitz Common subdirectories: 2006-10-17.org//wmii-3/rc and 2006-10-17//wmii-3/rc Common subdirectories: 2006-10-17.org//wmii-3/test and 2006-10-17//wmii-3/test Common subdirectories: 2006-10-17.org//wmii-3/cmd/wm and 2006-10-17//wmii-3/cmd/wm Common subdirectories: 2006-10-17.org//wmii-3/extra/p9p and 2006-10-17//wmii-3/extra/p9p