mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-17 17:32:09 +08:00
Add D-Bus notification driver
Use the core and portal notification implementations to dispatch system notifications.
This commit is contained in:
@@ -29,7 +29,6 @@ static SDL_NotificationAction actions[] = {
|
||||
{ .button = { SDL_NOTIFICATION_ACTION_TYPE_BUTTON, "action_1", "OK" } },
|
||||
{ .button = { SDL_NOTIFICATION_ACTION_TYPE_BUTTON, "action_2", "Cancel" } }
|
||||
};
|
||||
static SDL_NotificationAction *action_array[SDL_arraysize(actions) + 1];
|
||||
|
||||
static bool transient;
|
||||
static int sound;
|
||||
|
||||
Reference in New Issue
Block a user