comparison wm.h @ 31:386649deb651

before leaning things up
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:04:38 +0200
parents 8ad86d0a6a53
children 082c75b937b5
comparison
equal deleted inserted replaced
30:2e0fb4130bfb 31:386649deb651
20 20
21 /* cursor */ 21 /* cursor */
22 enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; 22 enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
23 23
24 struct Client { 24 struct Client {
25 char name[256], tag[256]; 25 char name[256];
26 char *tags[TLast];
26 int proto; 27 int proto;
27 int x, y, w, h; 28 int x, y, w, h;
28 int tx, ty, tw, th; 29 int tx, ty, tw, th;
29 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 30 int basew, baseh, incw, inch, maxw, maxh, minw, minh;
30 int grav; 31 int grav;
46 47
47 extern Display *dpy; 48 extern Display *dpy;
48 extern Window root, barwin; 49 extern Window root, barwin;
49 extern Atom wm_atom[WMLast], net_atom[NetLast]; 50 extern Atom wm_atom[WMLast], net_atom[NetLast];
50 extern Cursor cursor[CurLast]; 51 extern Cursor cursor[CurLast];
51 extern Bool running, sel_screen, grid; 52 extern Bool running, issel;
52 extern void (*handler[LASTEvent]) (XEvent *); 53 extern void (*handler[LASTEvent]) (XEvent *);
54 extern void (*arrange)(void *aux);
53 55
54 extern int screen, sx, sy, sw, sh, bx, by, bw, bh; 56 extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh;
55 extern char statustext[1024], tag[256]; 57 extern char stext[1024], *tags[TLast];
56 58
57 extern Brush brush; 59 extern Brush brush;
58 extern Client *clients, *stack; 60 extern Client *clients, *stack;
59 61
60 /* bar.c */ 62 /* bar.c */
73 extern void raise(Client *c); 75 extern void raise(Client *c);
74 extern void lower(Client *c); 76 extern void lower(Client *c);
75 extern void kill(void *aux); 77 extern void kill(void *aux);
76 extern void sel(void *aux); 78 extern void sel(void *aux);
77 extern void max(void *aux); 79 extern void max(void *aux);
78 extern void arrange(void *aux); 80 extern void floating(void *aux);
81 extern void grid(void *aux);
79 extern void gravitate(Client *c, Bool invert); 82 extern void gravitate(Client *c, Bool invert);
80 83
81 /* event.c */ 84 /* event.c */
82 extern void discard_events(long even_mask); 85 extern void discard_events(long even_mask);
83 86