]> git.sur5r.net Git - i3/i3/commit
cmd_border: improve width selection 3260/head
authorOrestis Floros <orestisf1993@gmail.com>
Sat, 21 Apr 2018 12:21:04 +0000 (15:21 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Sat, 21 Apr 2018 13:50:57 +0000 (16:50 +0300)
commitbd7a5ee48a4e6acba2a885508f0b26c6f4d963c3
treeb047cda81a148489305ca876fb67a68b4f87393d
parenta40bcef4385bfc42920761afc596e538d8c56c30
cmd_border: improve width selection

- 'border toggle' now accepts an optional pixel argument which will be
ignored when switching to BS_NONE.
- 'border pixel' now defaults to 1 pixel instead of 2.
- Calling 'border normal' or 'border pixel' will use the configured
default_border_width if one exists. Also applies to floating windows.
docs/userguide
parser-specs/commands.spec
src/commands.c
testcases/t/169-border-toggle.t