From 3aad92202d58208c4197857d3f17c535ba0bd56a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 13 Jul 2006 19:55:07 +0200 Subject: new stuff --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 07e12aa..eff5ce9 100644 --- a/main.c +++ b/main.c @@ -33,9 +33,8 @@ Cursor cursor[CurLast]; Bool running = True; Bool issel; -char stext[1024]; int tsel = Tdev; /* default tag */ -int screen, sx, sy, sw, sh, th; +int screen, sx, sy, sw, sh, mw, th; DC dc = {0}; Client *clients = NULL; @@ -223,6 +222,7 @@ main(int argc, char *argv[]) sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); + mw = (sw * MASTERW) / 100; issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); XSetErrorHandler(0); -- cgit v1.2.3-13-gbd6f