summaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 17:18:24 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 17:18:24 +0100
commit5a03daf47f3383250652c15f38f976f6157b4641 (patch)
tree3fa10743e82f60e66a0407056a4793101e917a74 /screen.c
parent6d5f67a0922d40d52290c12f9c0d937f4121406e (diff)
renamed Client->versatile and Rule->versatile into Client->isversatile resp. Rule->isversatile
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/screen.c b/screen.c
index e0da2cf..5907ba7 100644
--- a/screen.c
+++ b/screen.c
@@ -19,7 +19,7 @@ Layout *lt = NULL;
typedef struct {
const char *prop;
const char *tags;
- Bool versatile;
+ Bool isversatile;
} Rule;
typedef struct {
@@ -52,7 +52,7 @@ tile(void) {
if(c->isbanned)
XMoveWindow(dpy, c->win, c->x, c->y);
c->isbanned = False;
- if(c->versatile)
+ if(c->isversatile)
continue;
c->ismax = False;
nx = wax;
@@ -175,10 +175,10 @@ restack(void) {
drawstatus();
if(!sel)
return;
- if(sel->versatile || lt->arrange == versatile)
+ if(sel->isversatile || lt->arrange == versatile)
XRaiseWindow(dpy, sel->win);
if(lt->arrange != versatile) {
- if(!sel->versatile)
+ if(!sel->isversatile)
XLowerWindow(dpy, sel->win);
for(c = nexttiled(clients); c; c = nexttiled(c->next)) {
if(c == sel)
@@ -208,7 +208,7 @@ settags(Client *c, Client *trans) {
ch.res_name ? ch.res_name : "", c->name);
for(i = 0; i < nrules; i++)
if(regs[i].propregex && !regexec(regs[i].propregex, prop, 1, &tmp, 0)) {
- c->versatile = rule[i].versatile;
+ c->isversatile = rule[i].isversatile;
for(j = 0; regs[i].tagregex && j < ntags; j++) {
if(!regexec(regs[i].tagregex, tags[j], 1, &tmp, 0)) {
matched = True;
@@ -271,7 +271,7 @@ void
toggleversatile(Arg *arg) {
if(!sel || lt->arrange == versatile)
return;
- sel->versatile = !sel->versatile;
+ sel->isversatile = !sel->isversatile;
lt->arrange();
}