diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 15:05:29 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 15:05:29 +0100 |
| commit | 238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b (patch) | |
| tree | 8f08ae0a2fe2a6e40aa0a263f6d19ada4291215b /dwm.h | |
| parent | renamed manage.c to view.c (diff) | |
| download | dwm-238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b.tar.gz dwm-238dd5d2b15b8bdc0f05d5be7f86a1ca03d2920b.zip | |
renamed view.c into screen.c
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 10 |
1 files changed, 4 insertions, 6 deletions
| @@ -99,22 +99,20 @@ extern Display *dpy; | |||
| 99 | extern Window root, barwin; | 99 | extern Window root, barwin; |
| 100 | 100 | ||
| 101 | /* client.c */ | 101 | /* client.c */ |
| 102 | extern void attach(Client *c); /* attaches c to global client list */ | ||
| 103 | extern void attachstack(Client *c); /* attaches client to stack */ | ||
| 104 | extern void configure(Client *c); /* send synthetic configure event */ | 102 | extern void configure(Client *c); /* send synthetic configure event */ |
| 105 | extern void detach(Client *c); /* detaches c from global client list */ | ||
| 106 | extern void detachstack(Client *c); /* detaches client from stack */ | ||
| 107 | extern void focus(Client *c); /* focus c, c may be NULL */ | 103 | extern void focus(Client *c); /* focus c, c may be NULL */ |
| 108 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ | 104 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
| 109 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | 105 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
| 110 | extern Client *getclient(Window w); /* return client of w */ | 106 | extern Client *getclient(Window w); /* return client of w */ |
| 111 | extern void killclient(Arg *arg); /* kill c nicely */ | 107 | extern void killclient(Arg *arg); /* kill c nicely */ |
| 112 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ | 108 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
| 109 | Client *nexttiled(Client *c); /* returns tiled successor of c */ | ||
| 113 | extern void resize(Client *c, int x, int y, | 110 | extern void resize(Client *c, int x, int y, |
| 114 | int w, int h, Bool sizehints); /* resize c*/ | 111 | int w, int h, Bool sizehints); /* resize c*/ |
| 115 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ | 112 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
| 116 | extern void updatetitle(Client *c); /* update the name of c */ | 113 | extern void updatetitle(Client *c); /* update the name of c */ |
| 117 | extern void unmanage(Client *c); /* destroy c */ | 114 | extern void unmanage(Client *c); /* destroy c */ |
| 115 | extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ | ||
| 118 | 116 | ||
| 119 | /* draw.c */ | 117 | /* draw.c */ |
| 120 | extern void drawstatus(void); /* draw the bar */ | 118 | extern void drawstatus(void); /* draw the bar */ |
| @@ -131,7 +129,7 @@ extern void quit(Arg *arg); /* quit dwm nicely */ | |||
| 131 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ | 129 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
| 132 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ | 130 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
| 133 | 131 | ||
| 134 | /* manage.c */ | 132 | /* screen.c */ |
| 135 | extern void compileregexps(void); /* initialize regexps of rules defined in config.h */ | 133 | extern void compileregexps(void); /* initialize regexps of rules defined in config.h */ |
| 136 | extern void dofloat(void); /* arranges all windows floating */ | 134 | extern void dofloat(void); /* arranges all windows floating */ |
| 137 | extern void dotile(void); /* arranges all windows tiled */ | 135 | extern void dotile(void); /* arranges all windows tiled */ |
| @@ -146,9 +144,9 @@ extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/do | |||
| 146 | 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 */ |
| 147 | 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 */ |
| 148 | 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 */ |
| 149 | extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ | ||
| 150 | 147 | ||
| 151 | /* util.c */ | 148 | /* util.c */ |
| 152 | extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ | 149 | extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ |
| 153 | extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ | 150 | extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ |
| 154 | extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ | 151 | extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ |
| 152 | |||
