dwm-meillo

diff wm.h @ 7:49e2fc9fb94f

new stuff
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 11:27:56 +0200
parents e0cefb3981c8
children 7066ff2fe8bc
line diff
     1.1 --- a/wm.h	Tue Jul 11 11:10:05 2006 +0200
     1.2 +++ b/wm.h	Tue Jul 11 11:27:56 2006 +0200
     1.3 @@ -20,11 +20,10 @@
     1.4  enum { RFloat, RGrid, RLast };
     1.5  
     1.6  typedef struct Client Client;
     1.7 -typedef struct Tag Tag;
     1.8  
     1.9  struct Client {
    1.10 -	Tag *tag;
    1.11  	char name[256];
    1.12 +	char tag[256];
    1.13  	int proto;
    1.14  	unsigned int border;
    1.15  	Bool fixedsize;
    1.16 @@ -37,27 +36,21 @@
    1.17  	Client *snext;
    1.18  };
    1.19  
    1.20 -struct Tag {
    1.21 -	char name[256];
    1.22 -	Client *stack;
    1.23 -	XRectangle r;
    1.24 -	Tag *next;
    1.25 -	Tag *cnext;
    1.26 -};
    1.27 -
    1.28  extern Display *dpy;
    1.29  extern Window root, barwin;
    1.30  extern Atom wm_atom[WMLast], net_atom[NetLast];
    1.31  extern Cursor cursor[CurLast];
    1.32  extern XRectangle rect, barrect;
    1.33  extern Bool running;
    1.34 +extern Bool grid;
    1.35  extern void (*handler[LASTEvent]) (XEvent *);
    1.36  
    1.37  extern int screen, sel_screen;
    1.38  extern unsigned int lock_mask, numlock_mask;
    1.39 -extern char *bartext;
    1.40 +extern char *bartext, tag[256];
    1.41  
    1.42  extern Brush brush;
    1.43 +extern Client *client;
    1.44  
    1.45  /* bar.c */
    1.46  extern void draw_bar();