diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 19:55:07 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 19:55:07 +0200 |
commit | 3aad92202d58208c4197857d3f17c535ba0bd56a (patch) | |
tree | 9a1b23fcf9a4f8c0810d6893b217f265ebebfda6 /main.c | |
parent | efa7e514012865fcb3e9ea6e7d5b5c87d84353e5 (diff) | |
download | dwm-3aad92202d58208c4197857d3f17c535ba0bd56a.tar.gz |
new stuff
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |