mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Improve inert resource handling
This commit is contained in:
parent
b79d11395c
commit
2155c976f6
2 changed files with 83 additions and 51 deletions
20
include/types/wlr_tablet_v2.h
Normal file
20
include/types/wlr_tablet_v2.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef TYPES_WLR_TABLET_V2_H
|
||||
#define TYPES_WLR_TABLET_V2_H
|
||||
|
||||
#include "tablet-unstable-v2-protocol.h"
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
|
||||
|
||||
struct wlr_tablet_client_v2 *tablet_client_from_resource(struct wl_resource *resource);
|
||||
void destroy_tablet_v2(struct wl_resource *resource);
|
||||
|
||||
void destroy_tablet_pad_v2(struct wl_resource *resource);
|
||||
struct wlr_tablet_pad_client_v2 *tablet_pad_client_from_resource(struct wl_resource *resource);
|
||||
|
||||
void destroy_tablet_tool_v2(struct wl_resource *resource);
|
||||
struct wlr_tablet_tool_client_v2 *tablet_tool_client_from_resource(struct wl_resource *resource);
|
||||
|
||||
struct wlr_tablet_seat_client_v2 *tablet_seat_client_from_resource(struct wl_resource *resource);
|
||||
static void wlr_tablet_seat_client_v2_destroy(struct wl_resource *resource);
|
||||
#endif /* TYPES_WLR_TABLET_V2_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue