Ensure that the "border" command uses logical pixels.

Until now, only the config directive for borders (new_window,
new_float) respected the DPI setting (using logical_px). This
patch makes sure we also do so for runtime "border" commands.

fixes #2202
This commit is contained in:
Ingo Bürk
2016-02-09 21:03:44 +01:00
parent 1e23e55c5e
commit 6cbff6bfd4
4 changed files with 25 additions and 25 deletions

View File

@ -2255,6 +2255,10 @@ and +border none+ to make the client borderless.
There is also +border toggle+ which will toggle the different border styles.
Note that "pixel" refers to logical pixel. On HiDPI displays, a logical pixel
may be represented by multiple physical pixels, so +pixel 1+ might not
necessarily translate into a single pixel row wide border.
*Syntax*:
-----------------------------------------------
border normal|pixel [<n>]