summaryrefslogtreecommitdiff
path: root/cairo.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-05-17 18:30:34 -0400
committerSimon Ser <contact@emersion.fr>2021-06-22 20:07:56 +0200
commitccbd046b3347734d98d49ce3272f54187148b5a7 (patch)
treeb5daa1bef04c2340e55b91d231a7682fa73a2608 /cairo.c
parent3cb81c3573036a3606a4c7a1cedbe3e814a22773 (diff)
downloadswaybg-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 'cairo.c')
0 files changed, 0 insertions, 0 deletions