diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-30 08:05:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-30 08:05:14 -0400 |
commit | 5f8676f21478a05c349f0222755e999e2f457acc (patch) | |
tree | f1758d634c85ac5772e26d91078e892e596a6c40 /sway/desktop | |
parent | 8dacd0639cb68675f7fd6fb762a0f71dc6148cb7 (diff) | |
parent | b8efdeae298d59bf7015a9821e3d29cc4e9852e1 (diff) | |
download | sway-5f8676f21478a05c349f0222755e999e2f457acc.tar.xz |
Merge pull request #2383 from RedSoxFan/fix-title-scale
Fix title textures on scale change
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index cecd300a..fb52e7b1 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -506,14 +506,10 @@ static void handle_transform(struct wl_listener *listener, void *data) { transaction_commit_dirty(); } -static void handle_scale_iterator(struct sway_container *view, void *data) { - view_update_marks_textures(view->sway_view); -} - static void handle_scale(struct wl_listener *listener, void *data) { struct sway_output *output = wl_container_of(listener, output, scale); arrange_layers(output); - container_descendants(output->swayc, C_VIEW, handle_scale_iterator, NULL); + container_update_textures_recursive(output->swayc); arrange_windows(output->swayc); transaction_commit_dirty(); } |