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

@ -76,7 +76,7 @@ void cmd_resize(I3_CMD, const char *way, const char *direction, long resize_px,
* Implementation of 'border normal|pixel [<n>]', 'border none|1pixel|toggle'.
*
*/
void cmd_border(I3_CMD, const char *border_style_str, const char *border_width);
void cmd_border(I3_CMD, const char *border_style_str, long border_width);
/**
* Implementation of 'nop <comment>'.