summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcwm.c b/mcwm.c
index f95a0a3..edfb206 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -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;
}