dwm-meillo

diff wm.h @ 26:e8f627998d6f

simplified several portions of code through replacing rect structs with x,y,h,w counterparts (much more readable)
author Anselm R. Garbe <garbeam@wmii.de>
date Wed, 12 Jul 2006 15:17:22 +0200
parents 95ffdfd0a819
children f96fb3fd8203
line diff
     1.1 --- a/wm.h	Wed Jul 12 00:53:11 2006 +0200
     1.2 +++ b/wm.h	Wed Jul 12 15:17:22 2006 +0200
     1.3 @@ -46,11 +46,10 @@
     1.4  extern Window root, barwin;
     1.5  extern Atom wm_atom[WMLast], net_atom[NetLast];
     1.6  extern Cursor cursor[CurLast];
     1.7 -extern XRectangle rect, barrect;
     1.8  extern Bool running, sel_screen, grid;
     1.9  extern void (*handler[LASTEvent]) (XEvent *);
    1.10  
    1.11 -extern int screen;
    1.12 +extern int screen, sx, sy, sw, sh, bx, by, bw, bh;
    1.13  extern char statustext[1024], tag[256];
    1.14  
    1.15  extern Brush brush;
    1.16 @@ -75,9 +74,11 @@
    1.17  extern void resize(Client *c);
    1.18  extern void update_size(Client *c);
    1.19  extern Client *gettitle(Window w);
    1.20 +extern void raise(Client *c);
    1.21 +extern void lower(Client *c);
    1.22  
    1.23  /* event.c */
    1.24 -extern unsigned int discard_events(long even_mask);
    1.25 +extern void discard_events(long even_mask);
    1.26  
    1.27  /* key.c */
    1.28  extern void update_keys();