made dwm.h more tidy (thx Jukka for the zoom() hint)

new_dwm
Anselm R. Garbe 18 years ago
parent 89b7f1503e
commit 12d5a26fd2

@ -112,8 +112,7 @@ extern void unmanage(Client *c); /* destroy c */
/* draw.c */ /* draw.c */
extern void drawstatus(void); /* draw the bar */ extern void drawstatus(void); /* draw the bar */
extern void drawtext(const char *text, extern void drawtext(const char *text, unsigned long col[ColLast]); /* draw text */
unsigned long col[ColLast]); /* draw text */
extern unsigned int textw(const char *text); /* return the width of text in px*/ extern unsigned int textw(const char *text); /* return the width of text in px*/
/* event.c */ /* event.c */
@ -130,6 +129,7 @@ extern void restack(void); /* restores z layers of all clients */
extern void setlayout(const char *arg); /* sets layout, -1 toggles */ extern void setlayout(const char *arg); /* sets layout, -1 toggles */
extern void togglemax(const char *arg); /* toggles maximization of versatile client */ extern void togglemax(const char *arg); /* toggles maximization of versatile client */
extern void versatile(void); /* arranges all windows versatile */ extern void versatile(void); /* arranges all windows versatile */
extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */
/* main.c */ /* main.c */
extern void quit(const char *arg); /* quit dwm nicely */ extern void quit(const char *arg); /* quit dwm nicely */
@ -144,7 +144,6 @@ extern void tag(const char *arg); /* tags c with arg's index */
extern void toggletag(const char *arg); /* toggles c tags with arg's index */ extern void toggletag(const char *arg); /* toggles c tags with arg's index */
extern void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */ extern void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */
extern void view(const char *arg); /* views the tag with arg's index */ extern void view(const char *arg); /* views the tag with arg's index */
extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */
/* util.c */ /* util.c */
extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */

Loading…
Cancel
Save