Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
wayland
wayland
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 27
    • Merge Requests 27
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • waylandwayland
  • Issues
  • #111

Closed
Open
Opened Aug 21, 2019 by Twaik Yont@twaik

Feature request: abstract socket namespace support

Hi. I am writing my own compositor running on Android on top of Termux. There is a need to create socket in anonymous namespace and not to use XDG_RUNTIME_DIR because apps have different $HOME directories. Is it possible? What is needed:

  1. [wayland-server.c]

WL_EXPORT int wl_display_add_socket(struct wl_display *display, const char *name) which will create abstract socket if the const char *name starts with @ symbol.

  1. [wayland-client.c]

WL_EXPORT struct wl_display * wl_display_connect(const char *name) which will connect to abstract socket instead of non-abstract socket if const char *name starts with @ symbol.

Thank you.

Edited Aug 21, 2019 by Twaik Yont
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: wayland/wayland#111