dwm.h
changeset 53 529901e6a227
parent 52 d18f6dd0cf23
child 57 f005d46462e8
equal deleted inserted replaced
52:d18f6dd0cf23 53:529901e6a227
    64 	int tx, ty, tw, th;
    64 	int tx, ty, tw, th;
    65 	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
    65 	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
    66 	int grav;
    66 	int grav;
    67 	unsigned int border;
    67 	unsigned int border;
    68 	long flags; 
    68 	long flags; 
       
    69 	Bool floating;
    69 	Window win;
    70 	Window win;
    70 	Window trans;
       
    71 	Window title;
    71 	Window title;
    72 	Client *next;
    72 	Client *next;
    73 	Client *revert;
    73 	Client *revert;
    74 };
    74 };
    75 
    75 
    76 struct Rule {
    76 struct Rule {
    77 	const char *class;
    77 	const char *class;
    78 	const char *instance;
    78 	const char *instance;
    79 	char *tags[TLast];
    79 	char *tags[TLast];
       
    80 	Bool floating;
    80 };
    81 };
    81 
    82 
    82 struct Key {
    83 struct Key {
    83 	unsigned long mod;
    84 	unsigned long mod;
    84 	KeySym keysym;
    85 	KeySym keysym;
    89 extern Display *dpy;
    90 extern Display *dpy;
    90 extern Window root;
    91 extern Window root;
    91 extern Atom wm_atom[WMLast], net_atom[NetLast];
    92 extern Atom wm_atom[WMLast], net_atom[NetLast];
    92 extern Cursor cursor[CurLast];
    93 extern Cursor cursor[CurLast];
    93 extern Bool running, issel;
    94 extern Bool running, issel;
    94 extern void (*handler[LASTEvent]) (XEvent *);
    95 extern void (*handler[LASTEvent])(XEvent *);
       
    96 extern void (*arrange)(Arg *);
    95 
    97 
    96 extern int tsel, screen, sx, sy, sw, sh, mw, th;
    98 extern int tsel, screen, sx, sy, sw, sh, mw, th;
    97 extern char *tags[TLast];
    99 extern char *tags[TLast];
    98 
   100 
    99 extern DC dc;
   101 extern DC dc;
   115 extern void nextc(Arg *arg);
   117 extern void nextc(Arg *arg);
   116 extern void prevc(Arg *arg);
   118 extern void prevc(Arg *arg);
   117 extern void max(Arg *arg);
   119 extern void max(Arg *arg);
   118 extern void floating(Arg *arg);
   120 extern void floating(Arg *arg);
   119 extern void tiling(Arg *arg);
   121 extern void tiling(Arg *arg);
   120 extern void tag(Arg *arg);
   122 extern void ttrunc(Arg *arg);
       
   123 extern void tappend(Arg *arg);
   121 extern void view(Arg *arg);
   124 extern void view(Arg *arg);
   122 extern void zoom(Arg *arg);
   125 extern void zoom(Arg *arg);
   123 extern void gravitate(Client *c, Bool invert);
   126 extern void gravitate(Client *c, Bool invert);
   124 
   127 
   125 /* draw.c */
   128 /* draw.c */