summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2009-06-17 12:45:01 +0000
committerokan <okan>2009-06-17 12:45:01 +0000
commit61f841ea589c4f20cdc7c2d5b6a08567e9ca2487 (patch)
tree8953f55fbdcfe4e8330e78b4508321ab9e5107c9 /client.c
parentd7589ca80b81ca4f743e74c88629e4e39a86445d (diff)
downloadcwm-61f841ea589c4f20cdc7c2d5b6a08567e9ca2487.tar.gz
cwm-61f841ea589c4f20cdc7c2d5b6a08567e9ca2487.tar.xz
cwm-61f841ea589c4f20cdc7c2d5b6a08567e9ca2487.zip
re-factor parts of mouse move/resize bit to shrink and make more
readable; no behavior change

ok oga@
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/client.c b/client.c
index 613b7ab..1dbbc2c 100644
--- a/client.c
+++ b/client.c
@@ -66,11 +66,6 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
 	cc->size = XAllocSizeHints();
 
 	XGetWMNormalHints(X_Dpy, cc->win, cc->size, &tmp);
-	if (cc->size->width_inc == 0)
-		cc->size->width_inc = 1;
-	if (cc->size->height_inc == 0)
-		cc->size->height_inc = 1;
-
 	if (cc->size->flags & PBaseSize) {
 		cc->geom.min_dx = cc->size->base_width;
 		cc->geom.min_dy = cc->size->base_height;