Swap session signal to usr2, because xwayland may use usr1

This commit is contained in:
Drakulix 2017-11-25 14:02:15 +01:00
parent ed04f2d293
commit ef2e0571e7
1 changed files with 2 additions and 2 deletions

View File

@ -225,11 +225,11 @@ impl DirectSession {
/*
let signal = if tty::__libc_current_sigrtmin() > tty::__libc_current_sigrtmax() {
warn!(logger, "Not enough real-time signals available, falling back to USR1");
nix::sys::signal::SIGUSR1 as i32
nix::sys::signal::SIGUSR2 as i32
} else {
tty::__libc_current_sigrtmin()
};*/
let signal = signal::SIGUSR1;
let signal = signal::SIGUSR2;
let mode = tty::VtMode {
mode: tty::VT_PROCESS,