From dfd84f9bf3b9d949412a73bc62a43109b340d395 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Wed, 12 Jul 2006 15:17:22 +0200 Subject: simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable) --- wm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wm.h') diff --git a/wm.h b/wm.h index 8f31f60c..b5b07b59 100644 --- a/wm.h +++ b/wm.h @@ -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(); -- cgit v1.2.3