diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-05-17 18:30:34 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-22 20:07:56 +0200 |
commit | ccbd046b3347734d98d49ce3272f54187148b5a7 (patch) | |
tree | b5daa1bef04c2340e55b91d231a7682fa73a2608 /background-image.c | |
parent | 3cb81c3573036a3606a4c7a1cedbe3e814a22773 (diff) | |
download | swaybg-ccbd046b3347734d98d49ce3272f54187148b5a7.tar.gz swaybg-ccbd046b3347734d98d49ce3272f54187148b5a7.tar.bz2 |
React only to most recent configure event
When outputs are dynamically resized, as can happen when sway
is run nested with its wayland or x11 backend, layer shell programs
receive a stream of configure events. In such cases, only rendering
a frame for the last configure event avoids wasted computation.
Diffstat (limited to 'background-image.c')
0 files changed, 0 insertions, 0 deletions