wayland: add support for connecting to a foreign display

This allows the reuse of the display connection and hence objects with
existing code that is using Wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=703566
This commit is contained in:
Rob Bradford
2013-07-03 18:49:23 +01:00
parent 5b614cda1c
commit 8df5aba361
4 changed files with 41 additions and 2 deletions

View File

@ -48,6 +48,9 @@ struct wl_shell_surface *clutter_wayland_stage_get_wl_shell_surface (ClutterStag
CLUTTER_AVAILABLE_IN_1_10
struct wl_surface *clutter_wayland_stage_get_wl_surface (ClutterStage *stage);
G_END_DECLS
CLUTTER_AVAILABLE_IN_1_16
void clutter_wayland_set_display (struct wl_display *display);
G_END_DECLS
#endif /* __CLUTTER_WAYLAND_H__ */