X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=4a820b06fd1a81a8975b03b0a3dca475f5b303f4;hb=b3d7e07f18f0f69f8c3b3542615da62dfc4c6175;hp=c07229a2112dbfa2c259a05366db70112fac8a74;hpb=5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63;p=dwm.git diff --git a/dwm.h b/dwm.h index c07229a..4a820b0 100644 --- a/dwm.h +++ b/dwm.h @@ -101,7 +101,6 @@ extern Window root, barwin; /* client.c */ extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ -extern Client *getclient(Window w); /* return client of w */ extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ extern void killclient(Arg *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ @@ -144,10 +143,14 @@ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 * extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ /* view.c */ -extern void detach(Client *c); /* detaches c from global client list */ +extern void attach(Client *c); /* attaches c to global client list */ +extern void attachstack(Client *c); /* attaches client to stack */ extern void dofloat(void); /* arranges all windows floating */ +extern void detach(Client *c); /* detaches c from global client list */ +extern void detachstack(Client *c); /* detaches client from stack */ extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ +extern Client *getclient(Window w); /* return client of w */ extern Bool isvisible(Client *c); /* returns True if client is visible */ extern Client *nextmanaged(Client *c); /* returns managed successor of c */ extern void restack(void); /* restores z layers of all clients */