draw.c is useless (belongs to main.c now)

This commit is contained in:
Anselm R. Garbe
2007-02-19 15:17:31 +01:00
parent 238dd5d2b1
commit f8415019d4
6 changed files with 178 additions and 195 deletions

View File

@ -20,6 +20,14 @@ KEYS
#define CLEANMASK(mask) (mask & ~(numlockmask | LockMask))
#define MOUSEMASK (BUTTONMASK | PointerMotionMask)
static Client *
getclient(Window w) {
Client *c;
for(c = clients; c && c->win != w; c = c->next);
return c;
}
static void
movemouse(Client *c) {
int x1, y1, ocx, ocy, di, nx, ny;