diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-08-29 15:01:41 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-08-29 15:01:41 -0400 |
commit | 58b9c1bf1705087089815ae2d307ea0e1583703d (patch) | |
tree | 9fec61f8f1000e62baeb26d9128a83d0c58fc925 /src/wayland-server.h | |
parent | 47b446987d79fa77e6899ab1dc290a992ac5c241 (diff) |
server: Disconnect client on error
Diffstat (limited to 'src/wayland-server.h')
-rw-r--r-- | src/wayland-server.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h index e5f1767..71bb5bf 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -226,8 +226,10 @@ struct wl_selection { struct wl_listener selection_focus_listener; }; -void -wl_resource_post_event(struct wl_resource *resource, uint32_t opcode, ...); +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, ...); int wl_display_set_compositor(struct wl_display *display, |