mirror of
https://github.com/vale981/yabar
synced 2025-03-05 17:41:40 -05:00
Fix struts to be inclusive
This commit is contained in:
parent
63f0bb222e
commit
326bb4e59d
1 changed files with 2 additions and 2 deletions
|
@ -54,12 +54,12 @@ static void ya_setup_ewmh(ya_bar_t *bar) {
|
|||
if (bar->position == YA_TOP) {
|
||||
strut[2] = bar->height;
|
||||
strut[8] = bar->hgap;
|
||||
strut[9] = bar->hgap + bar->width;
|
||||
strut[9] = bar->hgap + bar->width - 1;
|
||||
}
|
||||
else if (bar->position == YA_BOTTOM) {
|
||||
strut[3] = bar->height;
|
||||
strut[10] = bar->hgap;
|
||||
strut[11] = bar->hgap + bar->width;
|
||||
strut[11] = bar->hgap + bar->width - 1;
|
||||
}
|
||||
else {
|
||||
//TODO right and left bars if implemented.
|
||||
|
|
Loading…
Add table
Reference in a new issue