diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-12 15:17:22 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-12 15:17:22 +0200 |
commit | dfd84f9bf3b9d949412a73bc62a43109b340d395 (patch) | |
tree | ebeac582951e2ef574f50018298c4bc928849d64 /wm.h | |
parent | 7696c89c90c926f6371b1ee3ec1b13dd2414aa40 (diff) |
simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable)
Diffstat (limited to 'wm.h')
-rw-r--r-- | wm.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -46,11 +46,10 @@ extern Display *dpy; extern Window root, barwin; extern Atom wm_atom[WMLast], net_atom[NetLast]; extern Cursor cursor[CurLast]; -extern XRectangle rect, barrect; extern Bool running, sel_screen, grid; extern void (*handler[LASTEvent]) (XEvent *); -extern int screen; +extern int screen, sx, sy, sw, sh, bx, by, bw, bh; extern char statustext[1024], tag[256]; extern Brush brush; @@ -75,9 +74,11 @@ extern void draw_client(Client *c); extern void resize(Client *c); extern void update_size(Client *c); extern Client *gettitle(Window w); +extern void raise(Client *c); +extern void lower(Client *c); /* event.c */ -extern unsigned int discard_events(long even_mask); +extern void discard_events(long even_mask); /* key.c */ extern void update_keys(); |