70 int rx, ry, rw, rh; /* revert geometry */ |
70 int rx, ry, rw, rh; /* revert geometry */ |
71 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
71 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
72 int minax, minay, maxax, maxay; |
72 int minax, minay, maxax, maxay; |
73 long flags; |
73 long flags; |
74 unsigned int border; |
74 unsigned int border; |
75 Bool isbanned, isfixed, isfloat, ismax; |
75 Bool isbanned, isfixed, ismax, swimming; |
76 Bool *tags; |
76 Bool *tags; |
77 Client *next; |
77 Client *next; |
78 Client *prev; |
78 Client *prev; |
79 Client *snext; |
79 Client *snext; |
80 Window win; |
80 Window win; |
127 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
127 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
128 extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
128 extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
129 |
129 |
130 /* screen.c */ |
130 /* screen.c */ |
131 extern void compileregs(void); /* initialize regexps of rules defined in config.h */ |
131 extern void compileregs(void); /* initialize regexps of rules defined in config.h */ |
132 extern void dofloat(void); /* arranges all windows floating */ |
|
133 extern void dotile(void); /* arranges all windows tiled */ |
|
134 extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ |
132 extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ |
135 extern void initlayouts(void); /* initialize layout array */ |
133 extern void initlayouts(void); /* initialize layout array */ |
136 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
134 extern Bool isvisible(Client *c); /* returns True if client is visible */ |
137 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
135 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
138 extern void restack(void); /* restores z layers of all clients */ |
136 extern void restack(void); /* restores z layers of all clients */ |
139 extern void settags(Client *c, Client *trans); /* sets tags of c */ |
137 extern void settags(Client *c, Client *trans); /* sets tags of c */ |
|
138 extern void swim(void); /* arranges all windows swimming */ |
140 extern void tag(Arg *arg); /* tags c with arg's index */ |
139 extern void tag(Arg *arg); /* tags c with arg's index */ |
141 extern void togglefloat(Arg *arg); /* toggles focusesd client between floating/non-floating state */ |
140 extern void toggleswimming(Arg *arg); /* toggles focusesd client between swimming/and non-swimming state */ |
142 extern void togglelayout(Arg *arg); /* toggles layout */ |
141 extern void togglelayout(Arg *arg); /* toggles layout */ |
143 extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ |
142 extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ |
144 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
143 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
145 extern void view(Arg *arg); /* views the tag with arg's index */ |
144 extern void view(Arg *arg); /* views the tag with arg's index */ |
146 |
145 |