comparison dwm.h @ 453:f30f937f9e52

small fix
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 11 Sep 2006 08:58:58 +0200
parents 026aba558fdf
children ffb462fb7903
comparison
equal deleted inserted replaced
452:026aba558fdf 453:f30f937f9e52
46 typedef struct Client Client; 46 typedef struct Client Client;
47 struct Client { 47 struct Client {
48 char name[256]; 48 char name[256];
49 int proto; 49 int proto;
50 int x, y, w, h; 50 int x, y, w, h;
51 int tx, ty, tw, th; /* title */ 51 int tx, ty, tw, th; /* title window geometry */
52 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 52 int basew, baseh, incw, inch, maxw, maxh, minw, minh;
53 int grav; 53 int grav;
54 long flags; 54 long flags;
55 unsigned int border, weight; 55 unsigned int border, weight;
56 Bool isfloat; 56 Bool isfloat;
119 119
120 /* util.c */ 120 /* util.c */
121 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ 121 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */
122 extern void eprint(const char *errstr, ...); /* prints error string and exits with return code 1 */ 122 extern void eprint(const char *errstr, ...); /* prints error string and exits with return code 1 */
123 extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */ 123 extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */
124 extern void spawn(Arg *arg) /* forks a new subprocess accordingly to arg's cmd */ 124 extern void spawn(Arg *arg); /* forks a new subprocess accordingly to arg's cmd */
125 125
126 /* view.c */ 126 /* view.c */
127 extern void detach(Client *c); /* detaches c from global client list */ 127 extern void detach(Client *c); /* detaches c from global client list */
128 extern void dofloat(Arg *arg); /* arranges all windows in a floating way, arg is ignored */ 128 extern void dofloat(Arg *arg); /* arranges all windows in a floating way, arg is ignored */
129 extern void dotile(Arg *arg); /* arranges all windows in a tiled way, arg is ignored */ 129 extern void dotile(Arg *arg); /* arranges all windows in a tiled way, arg is ignored */