X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=af0763804620812d5903392033fef1e682867bce;hp=a4447f6707480cfe9407ce5d87f44853815c1286;hb=24c125cc8a90405f9e0a1d63013e934d5480e6bb;hpb=a73de0cff42588d3dc3b40e4e8b198c847208dca diff --git a/dwm.c b/dwm.c index a4447f6..af07638 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 @@ -56,24 +57,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];