mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-13 13:29:47 -05:00
Create socket in /var/run/user/${HOME}
Use the runtime dir from XDG Base Directory Specification for creating the socket in a directory only the user can read and write.
This commit is contained in:
parent
0611e3efc2
commit
2bb3ebe1e4
11 changed files with 99 additions and 51 deletions
|
|
@ -81,8 +81,10 @@ struct wl_display;
|
|||
struct wl_input_device;
|
||||
|
||||
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, size_t name_size);
|
||||
int wl_display_add_socket(struct wl_display *display, const char *name);
|
||||
void wl_display_terminate(struct wl_display *display);
|
||||
void wl_display_run(struct wl_display *display);
|
||||
|
||||
void wl_display_add_object(struct wl_display *display, struct wl_object *object);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue