Function to get the current system color theme

This commit is contained in:
Kovid Goyal
2024-11-07 12:47:06 +05:30
parent 239e08f268
commit b0ebd340fe
13 changed files with 99 additions and 29 deletions

2
glfw/linux_notify.c vendored
View File

@@ -184,7 +184,7 @@ glfw_dbus_send_user_notification(const GLFWDBUSNotificationData *n, GLFWDBusnoti
APPEND(args, DBUS_TYPE_INT32, n->timeout)
#undef check_call
#undef APPEND
if (!call_method_with_msg(session_bus, msg, 5000, notification_created, data)) return 0;
if (!call_method_with_msg(session_bus, msg, 5000, notification_created, data, false)) return 0;
notification_id_type ans = data->next_id;
data = NULL;
return ans;