aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/floating.c
diff options
context:
space:
mode:
authorDaniel De Graaf <code@danieldg.net>2020-10-21 18:11:29 -0400
committerSimon Ser <contact@emersion.fr>2020-10-22 09:10:10 +0200
commit1be66c98f2c06add500bdb9d4b98b6183ab8141f (patch)
tree86a2c15a0f0d27c4da713b3c1473e172034860d8 /sway/commands/floating.c
parent9e272a7986aa586a73951069aa76068e408a2c3f (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/floating.c')
0 files changed, 0 insertions, 0 deletions