mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
upstream update: merge sway 1.8.1 (#111)
This commit is contained in:
parent
3efd3b558f
commit
e78fc3364b
16 changed files with 100 additions and 24 deletions
|
|
@ -292,7 +292,7 @@ static uint32_t render_status_block(struct render_context *ctx,
|
|||
}
|
||||
|
||||
double offset = 0;
|
||||
if (strncmp(block->align, "left", 5) == 0) {
|
||||
if (strncmp(block->align, "left", 4) == 0) {
|
||||
offset = x_pos;
|
||||
} else if (strncmp(block->align, "right", 5) == 0) {
|
||||
offset = x_pos + width - text_width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue