diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-23 16:23:57 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-23 16:23:57 +0200 |
commit | 8b7eccc50795ad9d6a261fca54fabf7a861b22b5 (patch) | |
tree | d76e4c286b923e3321dadc6b91d856487d198819 /mcwm.c | |
parent | 7653c6dae67a5fde6d6edd92d4a64b6fec4ffbf1 (diff) | |
download | mcwm-8b7eccc50795ad9d6a261fca54fabf7a861b22b5.zip |
We initially set size increments to 1, so check for that instead.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1371,7 +1371,7 @@ void resizestep(struct client *client, char direction) origwidth = width; origheight = height; - if (client->width_inc > 0) + if (client->width_inc > 1) { step_x = client->width_inc; } @@ -1380,7 +1380,7 @@ void resizestep(struct client *client, char direction) step_x = MOVE_STEP; } - if (client->height_inc > 0) + if (client->height_inc > 1) { step_y = client->height_inc; } |