diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-10-11 20:47:34 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-10-11 20:47:34 +0200 |
commit | 0453c1d180ca868a740bcc032d2dac1f120f6c7e (patch) | |
tree | a7a1cff6276dfde5fa411de70d7047f190b66967 /dwm.c | |
parent | 0b5c14cf593c82b85570c45beac553dfce2f9689 (diff) |
recreated dwm.h
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -25,6 +25,8 @@ * * To understand everything else, start reading main(). */ +#include "dwm.h" + #include <errno.h> #include <locale.h> #include <stdarg.h> @@ -39,7 +41,6 @@ #include <X11/cursorfont.h> #include <X11/keysym.h> #include <X11/Xatom.h> -#include <X11/Xlib.h> #include <X11/Xproto.h> #include <X11/Xutil.h> @@ -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]; |