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:
Kristian Høgsberg 2008-12-21 23:37:12 -05:00
parent 8049cbb88a
commit ee02ca6fa4
7 changed files with 124 additions and 22 deletions

View file

@ -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 *