diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 13:42:39 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 13:42:39 +0100 |
| commit | 30af19d4426ca32dc38318bbe87534cc44484998 (patch) | |
| tree | c3d862223531f5b02e3cb6e31b7e9ee5d38193a6 /dwm.h | |
| parent | some more refactoring (diff) | |
| download | dwm-30af19d4426ca32dc38318bbe87534cc44484998.tar.gz dwm-30af19d4426ca32dc38318bbe87534cc44484998.zip | |
added some new convenience functions
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -99,7 +99,11 @@ 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 */ | ||
| 102 | extern void configure(Client *c); /* send synthetic configure event */ | 104 | 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 */ | ||
| 103 | extern void focus(Client *c); /* focus c, c may be NULL */ | 107 | extern void focus(Client *c); /* focus c, c may be NULL */ |
| 104 | extern Client *getclient(Window w); /* return client of w */ | 108 | extern Client *getclient(Window w); /* return client of w */ |
| 105 | extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ | 109 | extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ |
| @@ -144,7 +148,6 @@ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 * | |||
| 144 | extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ | 148 | extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ |
| 145 | 149 | ||
| 146 | /* view.c */ | 150 | /* view.c */ |
| 147 | extern void detach(Client *c); /* detaches c from global client list */ | ||
| 148 | extern void dofloat(void); /* arranges all windows floating */ | 151 | extern void dofloat(void); /* arranges all windows floating */ |
| 149 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ | 152 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
| 150 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | 153 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
