mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-17 22:05:56 -05:00
fixes: add implementation
This commit is contained in:
parent
7392b3313a
commit
812675ba34
4 changed files with 100 additions and 6 deletions
28
include/wlr/types/wlr_fixes.h
Normal file
28
include/wlr/types/wlr_fixes.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue