aboutsummaryrefslogtreecommitdiff
path: root/backend/session/direct-freebsd.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-22 08:33:36 -0500
committerGitHub <noreply@github.com>2017-11-22 08:33:36 -0500
commitb083b1708b208c9f9b5332ee291ffc0f7ef3b44d (patch)
treedc5c6897d27469190d8ac3f9f311ce67e03c26dc /backend/session/direct-freebsd.c
parente6bf92cf02be8587e14d32f214467b09da40d9ff (diff)
parent1ae944c07189b54d5d7458a2d0efaa39fbbac457 (diff)
Merge pull request #444 from myfreeweb/master
Xwayland signal confusion fix & non-Linux socket path fix
Diffstat (limited to 'backend/session/direct-freebsd.c')
-rw-r--r--backend/session/direct-freebsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/session/direct-freebsd.c b/backend/session/direct-freebsd.c
index fc4bab04..c0621416 100644
--- a/backend/session/direct-freebsd.c
+++ b/backend/session/direct-freebsd.c
@@ -148,8 +148,8 @@ static bool setup_tty(struct direct_session *session, struct wl_display *display
struct vt_mode mode = {
.mode = VT_PROCESS,
- .relsig = SIGUSR1,
- .acqsig = SIGUSR1,
+ .relsig = SIGUSR2,
+ .acqsig = SIGUSR2,
.frsig = SIGIO, // has to be set
};
@@ -159,7 +159,7 @@ static bool setup_tty(struct direct_session *session, struct wl_display *display
}
struct wl_event_loop *loop = wl_display_get_event_loop(display);
- session->vt_source = wl_event_loop_add_signal(loop, SIGUSR1,
+ session->vt_source = wl_event_loop_add_signal(loop, SIGUSR2,
vt_handler, session);
if (!session->vt_source) {
goto error;