aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2009-06-17 12:45:01 +0000
committerokan2009-06-17 12:45:01 +0000
commit967f1dffd0de937b27d74867e236d4bc08bb5191 (patch)
treea7f52abafdc97f5a56b8dc0f90a107ee6dfe86c9 /client.c
parentb278e79f2a21d29e7f75de35544e19dd6960fcbf (diff)
downloadcwm-967f1dffd0de937b27d74867e236d4bc08bb5191.tar.gz
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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/client.c b/client.c
index f7ed30f..1c80e1c 100644
--- a/client.c
+++ b/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: client.c,v 1.51 2009/05/30 00:30:17 okan Exp $
+ * $Id: client.c,v 1.52 2009/06/17 12:45:01 okan Exp $
*/
#include "headers.h"
@@ -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;