mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-21 05:34:00 -04:00
server: Make error posting functions take a resource instead of a client
This commit is contained in:
parent
c640571c00
commit
25fddf65a8
3 changed files with 39 additions and 40 deletions
|
|
@ -98,9 +98,6 @@ void wl_display_remove_global(struct wl_display *display,
|
|||
|
||||
struct wl_client *wl_client_create(struct wl_display *display, int fd);
|
||||
void wl_client_destroy(struct wl_client *client);
|
||||
void wl_client_post_error(struct wl_client *client, struct wl_object *object,
|
||||
uint32_t code, const char *msg, ...);
|
||||
void wl_client_post_no_memory(struct wl_client *client);
|
||||
void wl_client_flush(struct wl_client *client);
|
||||
|
||||
struct wl_resource *
|
||||
|
|
@ -221,6 +218,7 @@ void wl_resource_post_event(struct wl_resource *resource,
|
|||
uint32_t opcode, ...);
|
||||
void wl_resource_post_error(struct wl_resource *resource,
|
||||
uint32_t code, const char *msg, ...);
|
||||
void wl_resource_post_no_memory(struct wl_resource *resource);
|
||||
|
||||
int
|
||||
wl_display_set_compositor(struct wl_display *display,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue