comparison dwm.h @ 95:5d88952cbf96

implemened distinguishing float/managed geometries of clients (works quite well)
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 18 Jul 2006 12:36:57 +0200
parents 6efe82c775c9
children a19556fe83b5
comparison
equal deleted inserted replaced
94:6efe82c775c9 95:5d88952cbf96
63 63
64 struct Client { 64 struct Client {
65 char name[256]; 65 char name[256];
66 char *tags[TLast]; 66 char *tags[TLast];
67 int proto; 67 int proto;
68 int x, y, w, h; 68 int *x, *y, *w, *h; /* current geom */
69 int tx, ty, tw, th; 69 int bx, by, bw, bh; /* title bar */
70 int fx, fy, fw, fh; /* floating geom */
71 int tx, ty, tw, th; /* tiled geom */
70 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 72 int basew, baseh, incw, inch, maxw, maxh, minw, minh;
71 int grav; 73 int grav;
72 unsigned int border; 74 unsigned int border;
73 long flags; 75 long flags;
74 Bool isfloat; 76 Bool isfloat;
118 extern void lower(Client *c); 120 extern void lower(Client *c);
119 extern void manage(Window w, XWindowAttributes *wa); 121 extern void manage(Window w, XWindowAttributes *wa);
120 extern void maximize(Arg *arg); 122 extern void maximize(Arg *arg);
121 extern void pop(Client *c); 123 extern void pop(Client *c);
122 extern void resize(Client *c, Bool inc); 124 extern void resize(Client *c, Bool inc);
125 extern void setgeom(Client *c);
123 extern void setsize(Client *c); 126 extern void setsize(Client *c);
124 extern void settitle(Client *c); 127 extern void settitle(Client *c);
125 extern void unmanage(Client *c); 128 extern void unmanage(Client *c);
126 extern void zoom(Arg *arg); 129 extern void zoom(Arg *arg);
127 130