dwm-meillo
diff main.c @ 51:035617ee18d1
new stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 19:55:07 +0200 |
parents | 148f25ed0ad7 |
children | d18f6dd0cf23 |
line diff
1.1 --- a/main.c Thu Jul 13 18:21:38 2006 +0200 1.2 +++ b/main.c Thu Jul 13 19:55:07 2006 +0200 1.3 @@ -33,9 +33,8 @@ 1.4 Bool running = True; 1.5 Bool issel; 1.6 1.7 -char stext[1024]; 1.8 int tsel = Tdev; /* default tag */ 1.9 -int screen, sx, sy, sw, sh, th; 1.10 +int screen, sx, sy, sw, sh, mw, th; 1.11 1.12 DC dc = {0}; 1.13 Client *clients = NULL; 1.14 @@ -223,6 +222,7 @@ 1.15 sx = sy = 0; 1.16 sw = DisplayWidth(dpy, screen); 1.17 sh = DisplayHeight(dpy, screen); 1.18 + mw = (sw * MASTERW) / 100; 1.19 issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); 1.20 1.21 XSetErrorHandler(0);