Mercurial > dwm-meillo
comparison dwm.h @ 327:96d09fd98e89
separated several functions into view.c
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Tue, 22 Aug 2006 16:50:21 +0200 |
parents | 4aa632b6ba66 |
children | 827f8f6c9e97 |
comparison
equal
deleted
inserted
replaced
326:73efaa15a635 | 327:96d09fd98e89 |
---|---|
82 extern Window root, barwin; | 82 extern Window root, barwin; |
83 | 83 |
84 /* client.c */ | 84 /* client.c */ |
85 extern void ban(Client *c); | 85 extern void ban(Client *c); |
86 extern void focus(Client *c); | 86 extern void focus(Client *c); |
87 extern void focusnext(Arg *arg); | |
88 extern void focusprev(Arg *arg); | |
89 extern Client *getclient(Window w); | 87 extern Client *getclient(Window w); |
90 extern Client *getctitle(Window w); | 88 extern Client *getctitle(Window w); |
91 extern void gravitate(Client *c, Bool invert); | 89 extern void gravitate(Client *c, Bool invert); |
92 extern void killclient(Arg *arg); | 90 extern void killclient(Arg *arg); |
93 extern void manage(Window w, XWindowAttributes *wa); | 91 extern void manage(Window w, XWindowAttributes *wa); |
94 extern void resize(Client *c, Bool sizehints, Corner sticky); | 92 extern void resize(Client *c, Bool sizehints, Corner sticky); |
95 extern void setsize(Client *c); | 93 extern void setsize(Client *c); |
96 extern void settitle(Client *c); | 94 extern void settitle(Client *c); |
97 extern void togglemax(Arg *arg); | 95 extern void togglemax(Arg *arg); |
98 extern void unmanage(Client *c); | 96 extern void unmanage(Client *c); |
99 extern void zoom(Arg *arg); | |
100 | 97 |
101 /* draw.c */ | 98 /* draw.c */ |
102 extern void drawall(); | 99 extern void drawall(); |
103 extern void drawstatus(); | 100 extern void drawstatus(); |
104 extern void drawtitle(Client *c); | 101 extern void drawtitle(Client *c); |
115 extern void quit(Arg *arg); | 112 extern void quit(Arg *arg); |
116 extern void sendevent(Window w, Atom a, long value); | 113 extern void sendevent(Window w, Atom a, long value); |
117 extern int xerror(Display *dsply, XErrorEvent *ee); | 114 extern int xerror(Display *dsply, XErrorEvent *ee); |
118 | 115 |
119 /* tag.c */ | 116 /* tag.c */ |
120 extern void dofloat(Arg *arg); | |
121 extern void dotile(Arg *arg); | |
122 extern void initrregs(); | 117 extern void initrregs(); |
123 extern Bool isvisible(Client *c); | |
124 extern Client *getnext(Client *c); | 118 extern Client *getnext(Client *c); |
125 extern Client *getprev(Client *c); | 119 extern Client *getprev(Client *c); |
126 extern void restack(); | |
127 extern void settags(Client *c); | 120 extern void settags(Client *c); |
128 extern void tag(Arg *arg); | 121 extern void tag(Arg *arg); |
129 extern void togglemode(Arg *arg); | |
130 extern void toggletag(Arg *arg); | 122 extern void toggletag(Arg *arg); |
131 extern void toggleview(Arg *arg); | |
132 extern void view(Arg *arg); | |
133 | 123 |
134 /* util.c */ | 124 /* util.c */ |
135 extern void *emallocz(unsigned int size); | 125 extern void *emallocz(unsigned int size); |
136 extern void eprint(const char *errstr, ...); | 126 extern void eprint(const char *errstr, ...); |
137 extern void *erealloc(void *ptr, unsigned int size); | 127 extern void *erealloc(void *ptr, unsigned int size); |
138 extern void spawn(Arg *arg); | 128 extern void spawn(Arg *arg); |
129 | |
130 /* view.c */ | |
131 extern void dofloat(Arg *arg); | |
132 extern void dotile(Arg *arg); | |
133 extern void focusnext(Arg *arg); | |
134 extern void focusprev(Arg *arg); | |
135 extern Bool isvisible(Client *c); | |
136 extern void restack(); | |
137 extern void togglemode(Arg *arg); | |
138 extern void toggleview(Arg *arg); | |
139 extern void view(Arg *arg); | |
140 extern void zoom(Arg *arg); |