mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
Fix title textures on scale change
This commit is contained in:
parent
8dacd0639c
commit
b8efdeae29
3 changed files with 8 additions and 6 deletions
|
|
@ -67,7 +67,7 @@ void container_create_notify(struct sway_container *container) {
|
|||
}
|
||||
}
|
||||
|
||||
static void container_update_textures_recursive(struct sway_container *con) {
|
||||
void container_update_textures_recursive(struct sway_container *con) {
|
||||
if (con->type == C_CONTAINER || con->type == C_VIEW) {
|
||||
container_update_title_textures(con);
|
||||
}
|
||||
|
|
@ -79,6 +79,10 @@ static void container_update_textures_recursive(struct sway_container *con) {
|
|||
struct sway_container *child = con->children->items[i];
|
||||
container_update_textures_recursive(child);
|
||||
}
|
||||
|
||||
if (con->type == C_WORKSPACE) {
|
||||
container_update_textures_recursive(con->sway_workspace->floating);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue