mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Expose screenshooting as an interface, drop SIGUSR hack.
This pulls in a bit of extra infrastructure for discovering adertised objects on the client side.
This commit is contained in:
parent
14fcff7726
commit
1e4b86af1a
10 changed files with 295 additions and 94 deletions
|
|
@ -32,7 +32,6 @@ void wl_display_set_event_handler(struct wl_display *display,
|
|||
wl_display_event_func_t handler,
|
||||
void *data);
|
||||
|
||||
|
||||
struct wl_surface *
|
||||
wl_display_create_surface(struct wl_display *display);
|
||||
|
||||
|
|
@ -47,4 +46,15 @@ void wl_surface_copy(struct wl_surface *surface, int32_t dst_x, int32_t dst_y,
|
|||
void wl_surface_damage(struct wl_surface *surface,
|
||||
int32_t x, int32_t y, int32_t width, int32_t height);
|
||||
|
||||
|
||||
/* These entry points are for client side implementation of custom
|
||||
* objects. */
|
||||
|
||||
uint32_t wl_display_get_object_id(struct wl_display *display,
|
||||
const char *interface);
|
||||
uint32_t wl_display_allocate_id(struct wl_display *display);
|
||||
void wl_display_write(struct wl_display *display,
|
||||
const void *data,
|
||||
size_t count);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue