wlr_idle_inhibit_v1: add *data pointer to wlr structs

This commit is contained in:
Dominique Martinet 2018-06-28 13:34:16 +09:00
parent 9f1d6c58ed
commit 0ced9df350
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ struct wlr_idle_inhibit_manager_v1 {
struct { struct {
struct wl_signal new_inhibitor; struct wl_signal new_inhibitor;
} events; } events;
void *data;
}; };
struct wlr_idle_inhibitor_v1 { struct wlr_idle_inhibitor_v1 {
@ -37,6 +39,8 @@ struct wlr_idle_inhibitor_v1 {
struct { struct {
struct wl_signal destroy; struct wl_signal destroy;
} events; } events;
void *data;
}; };
struct wlr_idle_inhibit_manager_v1 *wlr_idle_inhibit_v1_create(struct wl_display *display); struct wlr_idle_inhibit_manager_v1 *wlr_idle_inhibit_v1_create(struct wl_display *display);