about summary refs log tree commit diff stats
path: root/event.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 /event.c
parent6d5f67a0922d40d52290c12f9c0d937f4121406e (diff)
downloaddwm-5a03daf47f3383250652c15f38f976f6157b4641.tar.gz
renamed Client->versatile and Rule->versatile into Client->isversatile resp. Rule->isversatile
Diffstat (limited to 'event.c')
-rw-r--r--event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/event.c b/event.c
index 00c53b6..b6a77fd 100644
--- a/event.c
+++ b/event.c
@@ -156,14 +156,14 @@ buttonpress(XEvent *e) {
 		focus(c);
 		if(CLEANMASK(ev->state) != MODKEY)
 			return;
-		if(ev->button == Button1 && (lt->arrange == versatile || c->versatile)) {
+		if(ev->button == Button1 && (lt->arrange == versatile || c->isversatile)) {
 			restack();
 			movemouse(c);
 		}
 		else if(ev->button == Button2)
 			zoom(NULL);
 		else if(ev->button == Button3
-		&& (lt->arrange == versatile || c->versatile) && !c->isfixed)
+		&& (lt->arrange == versatile || c->isversatile) && !c->isfixed)
 		{
 			restack();
 			resizemouse(c);
@@ -181,7 +181,7 @@ configurerequest(XEvent *e) {
 		c->ismax = False;
 		if(ev->value_mask & CWBorderWidth)
 			c->border = ev->border_width;
-		if(c->isfixed || c->versatile || (lt->arrange == versatile)) {
+		if(c->isfixed || c->isversatile || (lt->arrange == versatile)) {
 			if(ev->value_mask & CWX)
 				c->x = ev->x;
 			if(ev->value_mask & CWY)
@@ -309,7 +309,7 @@ propertynotify(XEvent *e) {
 			default: break;
 			case XA_WM_TRANSIENT_FOR:
 				XGetTransientForHint(dpy, c->win, &trans);
-				if(!c->versatile && (c->versatile = (getclient(trans) != NULL)))
+				if(!c->isversatile && (c->isversatile = (getclient(trans) != NULL)))
 					lt->arrange();
 				break;
 			case XA_WM_NORMAL_HINTS:
v>
b38905b ^
a73a882 ^

9fbb2eb ^


a73a882 ^




f504aea ^
095f9e1 ^

a73a882 ^

9fbb2eb ^





a73a882 ^

9955ddc ^
095f9e1 ^

a73a882 ^



e21d93b ^




a73a882 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55