X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/28ffff801bb0137ec3fe4093afc4fb29784b17ec..8a5f002c4182abf6dcaac354a3da04cc18830ad9:/dwm.h?ds=inline diff --git a/dwm.h b/dwm.h index 674ab1e..e92ad56 100644 --- a/dwm.h +++ b/dwm.h @@ -73,7 +73,7 @@ struct Client { int minax, minay, maxax, maxay; long flags; unsigned int border; - Bool isfixed, isfloat, ismax; + Bool isbanned, isfixed, isfloat, ismax; Bool *tags; Client *next; Client *prev; @@ -99,6 +99,7 @@ extern Display *dpy; extern Window root, barwin; /* client.c */ +extern void ban(Client *c); /* ban c */ extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern Client *getclient(Window w); /* return client of w */ @@ -127,8 +128,6 @@ extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ /* tag.c */ extern void initrregs(void); /* initialize regexps of rules defined in config.h */ -extern Client *getnext(Client *c); /* returns next visible client */ -extern Client *getprev(Client *c); /* returns previous visible client */ extern void settags(Client *c, Client *trans); /* sets tags of c */ extern void tag(Arg *arg); /* tags c with arg's index */ extern void toggletag(Arg *arg); /* toggles c tags with arg's index */