draw.c is useless (belongs to main.c now)
This commit is contained in:
parent
238dd5d2b1
commit
f8415019d4
6 changed files with 178 additions and 195 deletions
8
event.c
8
event.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue