#include <string.h>
#include <X11/Xutil.h>
-/********** CUSTOMIZE **********/
+/* static */
+/* CUSTOMIZE */
+static Rule rule[] = {
+ /* class instance tags isfloat */
+ { "Firefox-bin", "Gecko", { [Twww] = "www" }, False },
+};
+
+/* extern */
+
+/* CUSTOMIZE */
char *tags[TLast] = {
[Tscratch] = "scratch",
[Tdev] = "dev",
[Twww] = "www",
[Twork] = "work",
};
-
-static Rule rule[] = {
- /* class instance tags dofloat */
- { "Firefox-bin", "Gecko", { [Twww] = "www" }, False },
-};
-
-/********** CUSTOMIZE **********/
-
-/* extern functions */
-
void (*arrange)(Arg *) = dotile;
void
w = sw - mw;
arrange = dotile;
for(n = 0, c = clients; c; c = c->next)
- if(c->tags[tsel] && !c->dofloat)
+ if(c->tags[tsel] && !c->isfloat)
n++;
if(n > 1)
for(i = 0, c = clients; c; c = c->next) {
if(c->tags[tsel]) {
- if(c->dofloat) {
+ if(c->isfloat) {
higher(c);
resize(c, True);
continue;
{
for(j = 0; j < TLast; j++)
c->tags[j] = rule[i].tags[j];
- c->dofloat = rule[i].dofloat;
+ c->isfloat = rule[i].isfloat;
matched = True;
break;
}