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:
@ -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>]
|
||||
|
Reference in New Issue
Block a user