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 ban(Client *c); /* ban c */ |
|
103 extern void configure(Client *c); /* send synthetic configure event */ |
102 extern void configure(Client *c); /* send synthetic configure event */ |
104 extern void focus(Client *c); /* focus c, c may be NULL */ |
103 extern void focus(Client *c); /* focus c, c may be NULL */ |
105 extern Client *getclient(Window w); /* return client of w */ |
104 extern Client *getclient(Window w); /* return client of w */ |
106 extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ |
105 extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ |
107 extern void killclient(Arg *arg); /* kill c nicely */ |
106 extern void killclient(Arg *arg); /* kill c nicely */ |
108 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
107 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
109 extern void resize(Client *c, Bool sizehints); /* resize c*/ |
108 extern void resize(Client *c, int x, int y, |
|
109 int w, int h, Bool sizehints); /* resize c*/ |
110 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
110 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
111 extern void updatetitle(Client *c); /* update the name of c */ |
111 extern void updatetitle(Client *c); /* update the name of c */ |
112 extern void unmanage(Client *c); /* destroy c */ |
112 extern void unmanage(Client *c); /* destroy c */ |
113 |
113 |
114 /* draw.c */ |
114 /* draw.c */ |