neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

commit 0bede0e52dbc37d173e78221dbfcc454515542bb
parent 3c4431b0ba7f9f685fa419aa812509bb38d7d048
Author: dalem <lain@dalem.foo>
Date:   Sun,  8 Feb 2026 03:33:43 +0100

Rename swc_wallpaper_init to swc_wallpaper_set

this change makes it appear as more consistent

Diffstat:
Mlibswc/swc.h | 4++--
Mlibswc/wallpaper.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswc/swc.h b/libswc/swc.h @@ -438,10 +438,10 @@ extern struct wld_buffer *wallbuf; /** * Set wallpaper to image from fs path. - * TODO: scaling, tiling, maybe diff image for each screen + * TODO: tiling, maybe diff image for each screen */ -void swc_wallpaper_init(char* path); +void swc_wallpaper_set(char* path); /** * Set wallpaper to a single color diff --git a/libswc/wallpaper.c b/libswc/wallpaper.c @@ -21,7 +21,7 @@ struct wld_buffer *wallbuf = NULL; uint32_t bgcolor = 0xff000000; EXPORT void -swc_wallpaper_init(char* path) +swc_wallpaper_set(char* path) { int width, height, chan; unsigned char *loaded;