diff options
author | Daniel De Graaf <code@danieldg.net> | 2020-10-21 18:11:29 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-10-22 09:10:10 +0200 |
commit | 1be66c98f2c06add500bdb9d4b98b6183ab8141f (patch) | |
tree | 86a2c15a0f0d27c4da713b3c1473e172034860d8 /sway/commands/font.c | |
parent | 9e272a7986aa586a73951069aa76068e408a2c3f (diff) |
commands/resize: don't consider 1px resizes to be invalid
A "resize shrink width 1px" will cause grow_x to be 0 while grow_width is -1,
incorrectly rejecting the command even though the resize is not a noop. Fix
this by checking width/height instead of x/y.
Diffstat (limited to 'sway/commands/font.c')
0 files changed, 0 insertions, 0 deletions