feat(wayland): add idle inhibitor for wayland

This commit is contained in:
2025-09-21 23:46:57 -04:00
parent 6e075bff4a
commit ee2df36041
5 changed files with 301 additions and 2 deletions

17
include/wayland.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <stdbool.h>
/**
* @brief create the wayland thread
*
* @return 0 on success
*/
int wayland_create_thread(void);
/**
* @brief set the idle lock
*
* @param lock change the idle lock state
*/
void wayland_set_idle_lock(int lock);