From 61f841ea589c4f20cdc7c2d5b6a08567e9ca2487 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 17 Jun 2009 12:45:01 +0000 Subject: re-factor parts of mouse move/resize bit to shrink and make more readable; no behavior change ok oga@ --- client.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'client.c') 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; -- cgit 1.4.1