about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-12-12 19:14:38 +0100
committerarg@mig29 <unknown>2006-12-12 19:14:38 +0100
commitded60365d4cb73d99febb76a2de820e7f93dc1fe (patch)
tree5814722aa881dfcbd6b8a689086602bd48764a9d
parent629647dfee4251fc4856b70658dff35cf5634057 (diff)
downloaddwm-ded60365d4cb73d99febb76a2de820e7f93dc1fe.tar.gz
removed Client->grav
-rw-r--r--client.c4
-rw-r--r--dwm.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/client.c b/client.c
index 898b2fc..9f103c6 100644
--- a/client.c
+++ b/client.c
@@ -289,10 +289,6 @@ updatesize(Client *c) {
 		c->minw = c->minh = 0;
 	c->isfixed = (c->maxw && c->minw && c->maxh && c->minh &&
 				c->maxw == c->minw && c->maxh == c->minh);
-	if(c->flags & PWinGravity)
-		c->grav = size.win_gravity;
-	else
-		c->grav = NorthWestGravity;
 }
 
 void
diff --git a/dwm.h b/dwm.h
index 773736d..85602f4 100644
--- a/dwm.h
+++ b/dwm.h
@@ -80,7 +80,6 @@ struct Client {
 	int rx, ry, rw, rh; /* revert geometry */
 	int tx, ty, tw, th; /* title window geometry */
 	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
-	int grav;
 	long flags; 
 	unsigned int border;
 	Bool isfloat, isfixed, ismax;