# HG changeset patch # User Anselm R. Garbe # Date 1192128454 -7200 # Node ID 2388a478f1461c2f815d11aa3e44b3222eee0dfc # Parent b4c4c98205ccbfb5aeff32ba4947756dc3248989 recreated dwm.h diff -r b4c4c98205cc -r 2388a478f146 Makefile --- a/Makefile Wed Oct 10 18:51:03 2007 +0200 +++ b/Makefile Thu Oct 11 20:47:34 2007 +0200 @@ -35,7 +35,7 @@ dist: clean @echo creating dist tarball @mkdir -p dwm-${VERSION} - @cp -R LICENSE Makefile README config.def.h config.mk \ + @cp -R LICENSE Makefile README config.def.h config.mk dwm.h \ dwm.1 ${SRC} dwm-${VERSION} @tar -cf dwm-${VERSION}.tar dwm-${VERSION} @gzip dwm-${VERSION}.tar diff -r b4c4c98205cc -r 2388a478f146 dwm.c --- a/dwm.c Wed Oct 10 18:51:03 2007 +0200 +++ b/dwm.c Thu Oct 11 20:47:34 2007 +0200 @@ -25,6 +25,8 @@ * * To understand everything else, start reading main(). */ +#include "dwm.h" + #include #include #include @@ -39,7 +41,6 @@ #include #include #include -#include #include #include @@ -55,25 +56,6 @@ enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */ -/* typedefs */ -typedef struct Client Client; - -struct Client { - char name[256]; - int x, y, w, h; - int rx, ry, rw, rh; /* revert geometry */ - int basew, baseh, incw, inch, maxw, maxh, minw, minh; - int minax, maxax, minay, maxay; - long flags; - unsigned int border, oldborder; - Bool isbanned, isfixed, ismax, isfloating, wasfloating; - Bool *tags; - Client *next; - Client *prev; - Client *snext; - Window win; -}; - typedef struct { int x, y, w, h; unsigned long norm[ColLast]; diff -r b4c4c98205cc -r 2388a478f146 dwm.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwm.h Thu Oct 11 20:47:34 2007 +0200 @@ -0,0 +1,20 @@ +/* See LICENSE file for copyright and license details. */ +#include + +/* typedefs */ +typedef struct Client Client; +struct Client { + char name[256]; + int x, y, w, h; + int rx, ry, rw, rh; /* revert geometry */ + int basew, baseh, incw, inch, maxw, maxh, minw, minh; + int minax, maxax, minay, maxay; + long flags; + unsigned int border, oldborder; + Bool isbanned, isfixed, ismax, isfloating, wasfloating; + Bool *tags; + Client *next; + Client *prev; + Client *snext; + Window win; +};