implement ext-idle-notify-v1

This commit is contained in:
Leon Henrik Plickat
2024-01-06 21:25:26 +01:00
parent 25fcd37930
commit 2ccbfb2283
16 changed files with 682 additions and 187 deletions

20
src/call-idle-handler.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef RIVERGUILE_CALL_IDLE_HANDLER_H
#define RIVERGUILE_CALL_IDLE_HANDLER_H
#include "seat.h"
enum Idle_handler_event
{
IDLE,
RESUME,
};
struct Call_idle_handler_parameters
{
struct Idle *idle;
enum Idle_handler_event event;
};
void *call_idle_handler (void *data);
#endif