Implement borders

Implements rendering of borders. Title text is still to do.

Implements the following configuration directives:

* client.focused
* client.focused_inactive
* client.unfocused
* client.urgent
* border
* default_border
This commit is contained in:
Ryan Dwyer 2018-04-30 21:24:13 +10:00
parent b84dfa794c
commit e67f354333
15 changed files with 447 additions and 74 deletions

View file

@ -72,8 +72,8 @@ struct sway_container {
// For C_ROOT, this has no meaning
// For C_OUTPUT, this is the output position in layout coordinates
// For other types, this is the position in output-local coordinates
// Includes borders
double x, y;
// does not include borders or gaps.
double width, height;
double saved_width, saved_height;