Merge branch 'master' into clipboard

This commit is contained in:
IoI_xD 2026-04-15 17:27:14 -05:00
commit ecdecbc93b
3 changed files with 34 additions and 31 deletions

View file

@ -248,8 +248,9 @@ MwInline int wayland_load_funcs() {
#define DBUS_FUNC(x) \
wl_call_tbl.x = MwDynamicSymbol(wl_call_tbl.dbus_lib, #x); \
if(!x) { \
fprintf(stderr, "[WARNING] Will not be able to detect dark theme: dbus function %s (libdbus-1.so) not found.\n", #x); \
if(!wl_call_tbl.x) { \
fprintf(stderr, "[WARNING] Will not be able to detect dark theme: dbus function %s not found.\n", #x); \
dlclose(wl_call_tbl.dbus_lib); \
return 0; \
}