mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Implement some more on borders
Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss.
This commit is contained in:
parent
a8e084433d
commit
b903f7f655
6 changed files with 110 additions and 25 deletions
|
|
@ -22,8 +22,11 @@ static swayc_t *new_swayc(enum swayc_types type) {
|
|||
c->gaps = -1;
|
||||
c->layout = L_NONE;
|
||||
c->type = type;
|
||||
c->border_type = B_PIXEL; // TODO: Load default from config
|
||||
c->border_thickness = 2;
|
||||
if (type != C_VIEW) {
|
||||
c->children = create_list();
|
||||
c->border_type = B_NONE;
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue