diff options
Diffstat (limited to 'swaybg')
-rw-r--r-- | swaybg/main.c | 4 | ||||
-rw-r--r-- | swaybg/meson.build | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/swaybg/main.c b/swaybg/main.c index 5b0d0458..742669ef 100644 --- a/swaybg/main.c +++ b/swaybg/main.c @@ -73,6 +73,10 @@ static void render_frame(struct swaybg_state *state) { return; } cairo_t *cairo = state->current_buffer->cairo; + cairo_save(cairo); + cairo_set_operator(cairo, CAIRO_OPERATOR_CLEAR); + cairo_paint(cairo); + cairo_restore(cairo); if (state->args->mode == BACKGROUND_MODE_SOLID_COLOR) { cairo_set_source_u32(cairo, state->context.color); cairo_paint(cairo); diff --git a/swaybg/meson.build b/swaybg/meson.build index 8704de6d..095c5488 100644 --- a/swaybg/meson.build +++ b/swaybg/meson.build @@ -14,5 +14,6 @@ executable( wlroots, ], link_with: [lib_sway_common, lib_sway_client], + install_rpath : rpathdir, install: true ) |