implement permission infrastructure

This commit is contained in:
Tobias Bengfort 2025-09-06 10:43:26 +02:00
parent 26cd95ebfd
commit 589ea47920
4 changed files with 96 additions and 3 deletions

11
include/permissions.h Normal file
View file

@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_PERMISSIONS_H
#define LABWC_PERMISSIONS_H
#include <wayland-server-core.h>
#include <stdbool.h>
int permissions_context_create(struct wl_display *display, uint32_t permissions);
bool permissions_check(const struct wl_client *client, const struct wl_interface *iface);
#endif