fixes: add implementation

This commit is contained in:
Kirill Primak 2024-05-12 11:53:09 +03:00 committed by Simon Ser
parent 7392b3313a
commit 812675ba34
4 changed files with 100 additions and 6 deletions

View file

@ -0,0 +1,28 @@
/*
* This an unstable interface of wlroots. No guarantees are made regarding the
* future consistency of this API.
*/
#ifndef WLR_USE_UNSTABLE
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
#endif
#ifndef WLR_TYPES_WLR_FIXES_H
#define WLR_TYPES_WLR_FIXES_H
#include <wayland-server-core.h>
struct wlr_fixes {
struct wl_global *global;
struct {
struct wl_signal destroy;
} events;
struct {
struct wl_listener display_destroy;
} WLR_PRIVATE;
};
struct wlr_fixes *wlr_fixes_create(struct wl_display *display, uint32_t version);
#endif