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 | added Mod1-Tab description to dwm.1 (diff) | |
| download | dwm-0453c1d180ca868a740bcc032d2dac1f120f6c7e.tar.gz dwm-0453c1d180ca868a740bcc032d2dac1f120f6c7e.zip | |
recreated dwm.h
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 22 |
1 files changed, 2 insertions, 20 deletions
| @@ -25,6 +25,8 @@ | |||
| 25 | * | 25 | * |
| 26 | * To understand everything else, start reading main(). | 26 | * To understand everything else, start reading main(). |
| 27 | */ | 27 | */ |
| 28 | #include "dwm.h" | ||
| 29 | |||
| 28 | #include <errno.h> | 30 | #include <errno.h> |
| 29 | #include <locale.h> | 31 | #include <locale.h> |
| 30 | #include <stdarg.h> | 32 | #include <stdarg.h> |
| @@ -39,7 +41,6 @@ | |||
| 39 | #include <X11/cursorfont.h> | 41 | #include <X11/cursorfont.h> |
| 40 | #include <X11/keysym.h> | 42 | #include <X11/keysym.h> |
| 41 | #include <X11/Xatom.h> | 43 | #include <X11/Xatom.h> |
| 42 | #include <X11/Xlib.h> | ||
| 43 | #include <X11/Xproto.h> | 44 | #include <X11/Xproto.h> |
| 44 | #include <X11/Xutil.h> | 45 | #include <X11/Xutil.h> |
| 45 | 46 | ||
| @@ -55,25 +56,6 @@ enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ | |||
| 55 | enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ | 56 | enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ |
| 56 | enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */ | 57 | enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */ |
| 57 | 58 | ||
| 58 | /* typedefs */ | ||
| 59 | typedef struct Client Client; | ||
| 60 | |||
| 61 | struct Client { | ||
| 62 | char name[256]; | ||
| 63 | int x, y, w, h; | ||
| 64 | int rx, ry, rw, rh; /* revert geometry */ | ||
| 65 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; | ||
| 66 | int minax, maxax, minay, maxay; | ||
| 67 | long flags; | ||
| 68 | unsigned int border, oldborder; | ||
| 69 | Bool isbanned, isfixed, ismax, isfloating, wasfloating; | ||
| 70 | Bool *tags; | ||
| 71 | Client *next; | ||
| 72 | Client *prev; | ||
| 73 | Client *snext; | ||
| 74 | Window win; | ||
| 75 | }; | ||
| 76 | |||
| 77 | typedef struct { | 59 | typedef struct { |
| 78 | int x, y, w, h; | 60 | int x, y, w, h; |
| 79 | unsigned long norm[ColLast]; | 61 | unsigned long norm[ColLast]; |
