rearranged several stuff
This commit is contained in:
36
dwm.h
36
dwm.h
@ -66,7 +66,7 @@ struct Client {
|
||||
int grav;
|
||||
unsigned int border;
|
||||
long flags;
|
||||
Bool floating;
|
||||
Bool dofloat;
|
||||
Window win;
|
||||
Window title;
|
||||
Client *next;
|
||||
@ -77,7 +77,7 @@ struct Rule {
|
||||
const char *class;
|
||||
const char *instance;
|
||||
char *tags[TLast];
|
||||
Bool floating;
|
||||
Bool dofloat;
|
||||
};
|
||||
|
||||
struct Key {
|
||||
@ -103,6 +103,7 @@ extern DC dc;
|
||||
extern Client *clients, *sel;
|
||||
|
||||
/* client.c */
|
||||
extern void ban(Client *c);
|
||||
extern void manage(Window w, XWindowAttributes *wa);
|
||||
extern void unmanage(Client *c);
|
||||
extern Client *getclient(Window w);
|
||||
@ -110,14 +111,18 @@ extern void focus(Client *c);
|
||||
extern void settitle(Client *c);
|
||||
extern void resize(Client *c, Bool inc);
|
||||
extern void setsize(Client *c);
|
||||
extern Client *gettitle(Window w);
|
||||
extern Client *getctitle(Window w);
|
||||
extern void higher(Client *c);
|
||||
extern void lower(Client *c);
|
||||
extern void gravitate(Client *c, Bool invert);
|
||||
extern void ban(Client *c);
|
||||
extern Client *getnext(Client *c);
|
||||
extern void zoom(Arg *arg);
|
||||
extern void maximize(Arg *arg);
|
||||
extern void focusprev(Arg *arg);
|
||||
extern void focusnext(Arg *arg);
|
||||
extern void killclient(Arg *arg);
|
||||
|
||||
/* draw.c */
|
||||
extern void drawall();
|
||||
extern void drawstatus();
|
||||
extern void drawtitle(Client *c);
|
||||
extern void drawtext(const char *text, Bool invert, Bool border);
|
||||
@ -127,22 +132,25 @@ extern unsigned int textnw(char *text, unsigned int len);
|
||||
extern unsigned int textw(char *text);
|
||||
extern unsigned int texth(void);
|
||||
|
||||
/* key.c */
|
||||
/* event.c */
|
||||
extern void grabkeys();
|
||||
extern void keypress(XEvent *e);
|
||||
|
||||
/* main.c */
|
||||
extern int xerror(Display *dsply, XErrorEvent *e);
|
||||
extern void sendevent(Window w, Atom a, long value);
|
||||
extern int proto(Window w);
|
||||
extern void quit(Arg *arg);
|
||||
extern int xerror(Display *dsply, XErrorEvent *ee);
|
||||
extern void sendevent(Window w, Atom a, long value);
|
||||
extern int getproto(Window w);
|
||||
|
||||
/* screen.c */
|
||||
extern void floating(Arg *arg);
|
||||
extern void tiling(Arg *arg);
|
||||
/* tag.c */
|
||||
extern Client *getnext(Client *c);
|
||||
extern void settags(Client *c);
|
||||
extern void dofloat(Arg *arg);
|
||||
extern void dotile(Arg *arg);
|
||||
extern void view(Arg *arg);
|
||||
extern void appendtag(Arg *arg);
|
||||
extern void replacetag(Arg *arg);
|
||||
|
||||
/* util.c */
|
||||
extern void error(const char *errstr, ...);
|
||||
extern void eprint(const char *errstr, ...);
|
||||
extern void *emallocz(unsigned int size);
|
||||
extern void spawn(Arg *arg);
|
||||
|
Reference in New Issue
Block a user