diff options
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 18 |
1 files changed, 10 insertions, 8 deletions
| @@ -120,6 +120,15 @@ extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is | |||
| 120 | /* event.c */ | 120 | /* event.c */ |
| 121 | extern void grabkeys(void); /* grab all keys defined in config.h */ | 121 | extern void grabkeys(void); /* grab all keys defined in config.h */ |
| 122 | 122 | ||
| 123 | /* layout.c */ | ||
| 124 | extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ | ||
| 125 | extern void initlayouts(void); /* initialize layout array */ | ||
| 126 | extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ | ||
| 127 | extern void restack(void); /* restores z layers of all clients */ | ||
| 128 | extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ | ||
| 129 | extern void toggleversatile(Arg *arg); /* toggles focusesd client between versatile/and non-versatile state */ | ||
| 130 | extern void versatile(void); /* arranges all windows versatile */ | ||
| 131 | |||
| 123 | /* main.c */ | 132 | /* main.c */ |
| 124 | extern void drawstatus(void); /* draw the bar */ | 133 | extern void drawstatus(void); /* draw the bar */ |
| 125 | extern unsigned int textw(const char *text); /* return the width of text in px*/ | 134 | extern unsigned int textw(const char *text); /* return the width of text in px*/ |
| @@ -127,20 +136,13 @@ extern void quit(Arg *arg); /* quit dwm nicely */ | |||
| 127 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ | 136 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
| 128 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ | 137 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
| 129 | 138 | ||
| 130 | /* screen.c */ | 139 | /* tag.c */ |
| 131 | extern void compileregs(void); /* initialize regexps of rules defined in config.h */ | 140 | extern void compileregs(void); /* initialize regexps of rules defined in config.h */ |
| 132 | extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ | ||
| 133 | extern void initlayouts(void); /* initialize layout array */ | ||
| 134 | extern Bool isvisible(Client *c); /* returns True if client is visible */ | 141 | extern Bool isvisible(Client *c); /* returns True if client is visible */ |
| 135 | extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ | ||
| 136 | extern void restack(void); /* restores z layers of all clients */ | ||
| 137 | extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ | ||
| 138 | extern void settags(Client *c, Client *trans); /* sets tags of c */ | 142 | extern void settags(Client *c, Client *trans); /* sets tags of c */ |
| 139 | extern void tag(Arg *arg); /* tags c with arg's index */ | 143 | extern void tag(Arg *arg); /* tags c with arg's index */ |
| 140 | extern void toggleversatile(Arg *arg); /* toggles focusesd client between versatile/and non-versatile state */ | ||
| 141 | extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ | 144 | extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ |
| 142 | extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ | 145 | extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
| 143 | extern void versatile(void); /* arranges all windows versatile */ | ||
| 144 | extern void view(Arg *arg); /* views the tag with arg's index */ | 146 | extern void view(Arg *arg); /* views the tag with arg's index */ |
| 145 | 147 | ||
| 146 | /* util.c */ | 148 | /* util.c */ |
