feat(wayland): add idle inhibitor for wayland
This commit is contained in:
17
include/wayland.h
Normal file
17
include/wayland.h
Normal 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);
|
Reference in New Issue
Block a user