mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
Add hook to allow globals to send cold-plug events to new clients.
This lets us boot strap the client side state cache. This commit also adds the first user of this feature, an output object that represents the current output. Very simple at this point, but will grow to something more like RandR 1.2.
This commit is contained in:
parent
8049cbb88a
commit
ee02ca6fa4
7 changed files with 124 additions and 22 deletions
|
|
@ -57,6 +57,9 @@ void wl_display_set_event_handler(struct wl_display *display,
|
|||
wl_display_event_func_t handler,
|
||||
void *data);
|
||||
|
||||
void
|
||||
wl_display_get_geometry(struct wl_display *display,
|
||||
int32_t *width, int32_t *height);
|
||||
struct wl_compositor *
|
||||
wl_display_get_compositor(struct wl_display *display);
|
||||
struct wl_visual *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue