X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=41b1c36efbf23e8953fd7a1840554600abad38bc;hb=d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4;hp=78a984e52172d945584c0875fbfb2be8cef84268;hpb=30561a0161629b15abe1beeb97eec3fc0768efaf;p=dwm.git diff --git a/dwm.h b/dwm.h index 78a984e..41b1c36 100644 --- a/dwm.h +++ b/dwm.h @@ -43,6 +43,7 @@ struct DC { /* draw context */ int x, y, w, h; unsigned long bg; unsigned long fg; + unsigned long border; Drawable drawable; Fnt font; GC gc; @@ -68,12 +69,12 @@ struct Client { extern const char *tags[]; extern char stext[1024]; -extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; +extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; extern unsigned int ntags; extern void (*handler[LASTEvent])(XEvent *); extern void (*arrange)(Arg *); extern Atom wmatom[WMLast], netatom[NetLast]; -extern Bool running, issel; +extern Bool running, issel, *tsel; extern Client *clients, *sel; extern Cursor cursor[CurLast]; extern DC dc; @@ -120,6 +121,7 @@ extern void appendtag(Arg *arg); extern void dofloat(Arg *arg); extern void dotile(Arg *arg); extern void initrregs(); +extern Bool isvisible(Client *c); extern Client *getnext(Client *c); extern Client *getprev(Client *c); extern void replacetag(Arg *arg);