mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
server: Add a simple API to find a good default display
This allows compositors to easily select a good display to listen on.
This commit is contained in:
parent
f0401059b9
commit
e2c0d47b0c
2 changed files with 74 additions and 25 deletions
|
|
@ -92,6 +92,7 @@ struct wl_display *wl_display_create(void);
|
|||
void wl_display_destroy(struct wl_display *display);
|
||||
struct wl_event_loop *wl_display_get_event_loop(struct wl_display *display);
|
||||
int wl_display_add_socket(struct wl_display *display, const char *name);
|
||||
const char *wl_display_add_socket_auto(struct wl_display *display);
|
||||
void wl_display_terminate(struct wl_display *display);
|
||||
void wl_display_run(struct wl_display *display);
|
||||
void wl_display_flush_clients(struct wl_display *display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue