mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Use SIGUSR2 for vt switching instead of SIGUSR1
Xwayland uses SIGUSR1 to signal readiness. With direct(-freebsd) session and Xwayland, wlroots was confusing the Xwayland readiness signal with a vt switch signal, freezing the desktop. Same problem was found in Weston in 2014: https://phabricator.freedesktop.org/T7080
This commit is contained in:
parent
71aa634ac5
commit
1ae944c071
3 changed files with 8 additions and 6 deletions
|
|
@ -21,7 +21,9 @@
|
|||
static const char *lock_fmt = "/tmp/.X%d-lock";
|
||||
static const char *socket_dir = "/tmp/.X11-unix";
|
||||
static const char *socket_fmt = "/tmp/.X11-unix/X%d";
|
||||
#ifndef __linux__
|
||||
static const char *socket_fmt2 = "/tmp/.X11-unix/X%d_";
|
||||
#endif
|
||||
|
||||
static int open_socket(struct sockaddr_un *addr, size_t path_size) {
|
||||
int fd, rc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue