diff options
| author | Michael Swiger <mokkan@gmail.com> | 2021-07-05 13:52:47 -0700 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2021-07-05 22:56:20 +0200 |
| commit | 7ac62ebda1858875fc5f2de4ed694072aa739eb7 (patch) | |
| tree | aeca7b72ee52c7356fe117340ae160bcdabf936a | |
| parent | 4088033ff6d5731dea2ab3093de58c0b22d26c75 (diff) | |
Prevent attaching and committing the surface twice
| -rw-r--r-- | render.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -321,6 +321,7 @@ void render_frame(struct swaylock_surface *surface) { surface->indicator_width = new_width; surface->indicator_height = new_height; render_frame(surface); + return; } wl_surface_set_buffer_scale(surface->child, surface->scale); |
