From 0453c1d180ca868a740bcc032d2dac1f120f6c7e Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 11 Oct 2007 20:47:34 +0200 Subject: recreated dwm.h --- dwm.c | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index a4447f6..cce68cb 100644 --- a/dwm.c +++ b/dwm.c @@ -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 { ColBorder, ColFG, ColBG, ColLast }; /* color */ 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]; -- cgit v1.2.3-54-g00ecf