feat: add support to two new wayland protocols

- Idle notify
- Idle inhibit
This commit is contained in:
DanyLE
2025-07-07 16:37:23 +02:00
parent dd8242abc6
commit 194b7894cd
6 changed files with 97 additions and 2 deletions

View File

@@ -19,6 +19,7 @@
#include "seat.h"
#include "layer.h"
#include "session.h"
#include "idle.h"
#define PROC_MON_TO 100
@@ -190,6 +191,7 @@ int main(int argc, char *argv[])
wlr_screencopy_manager_v1_create(server.wl_display);
wlr_single_pixel_buffer_manager_v1_create(server.wl_display);
wlr_fractional_scale_manager_v1_create(server.wl_display,1);
diya_init_idle_manager(server.wl_display);
/* Set up xdg-shell version 6 The xdg-shell is a Wayland protocol which is
* used for application windows. For more detail on shells, refer to
* https://drewdevault.com/2018/07/29/Wayland-shells.html.