equal
deleted
inserted
replaced
97 extern DC dc; /* global draw context */ |
97 extern DC dc; /* global draw context */ |
98 extern Display *dpy; |
98 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] */ |
106 extern void killclient(Arg *arg); /* kill c nicely */ |
110 extern void killclient(Arg *arg); /* kill c nicely */ |
107 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
111 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
142 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ |
146 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ |
143 extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ |
147 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 */ |
151 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
154 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
152 extern Client *nextmanaged(Client *c); /* returns managed successor of c */ |
155 extern Client *nextmanaged(Client *c); /* returns managed successor of c */ |