mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-02 09:01:41 -05:00
Add -S to set display socket name; avoid auto wayland-0
Being able to set the socket name helps with having a predictable name when for example connecting wayvnc to it. Not trying the socket name "wayland-0" seems to be best practice: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/486
This commit is contained in:
parent
360e259ca5
commit
e22d2e781b
2 changed files with 28 additions and 6 deletions
2
server.h
2
server.h
|
|
@ -66,6 +66,8 @@ struct cg_server {
|
|||
bool return_app_code;
|
||||
bool terminated;
|
||||
enum wlr_log_importance log_level;
|
||||
|
||||
char *socket;
|
||||
};
|
||||
|
||||
void server_terminate(struct cg_server *server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue