From f8415019d4edc1cd4f310adb256e6656e85bfe75 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 19 Feb 2007 15:17:31 +0100 Subject: draw.c is useless (belongs to main.c now) --- event.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'event.c') diff --git a/event.c b/event.c index db3ce46e..dfe2552e 100644 --- a/event.c +++ b/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; -- cgit v1.2.3