REFACTOR (wl_listeners isolated)

This commit is contained in:
Emile Clark-Boman 2025-08-28 02:03:35 +10:00
parent ab3942d3b5
commit b92eb285c0
31 changed files with 620 additions and 473 deletions

View file

@ -1,9 +1,11 @@
#ifndef CRYWL_IDLE_H
#define CRYWL_IDLE_H
#include <wayland-server-core.h>
#include <wlr/types/wlr_layer_shell_v1.h>
/* ===== Function Declarations ===== */
static void checkidleinhibitor(struct wlr_surface *exclude);
static void createidleinhibitor(struct wl_listener *listener, void *data);
static void destroyidleinhibitor(struct wl_listener *listener, void *data);
void checkidleinhibitor(struct wlr_surface *exclude);
void destroyidleinhibitor(struct wl_listener *listener, void *data);
#endif /* CRYWL_IDLE_H */