Swap session signal to usr2, because xwayland may use usr1
This commit is contained in:
parent
ed04f2d293
commit
ef2e0571e7
|
@ -225,11 +225,11 @@ impl DirectSession {
|
||||||
/*
|
/*
|
||||||
let signal = if tty::__libc_current_sigrtmin() > tty::__libc_current_sigrtmax() {
|
let signal = if tty::__libc_current_sigrtmin() > tty::__libc_current_sigrtmax() {
|
||||||
warn!(logger, "Not enough real-time signals available, falling back to USR1");
|
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 {
|
} else {
|
||||||
tty::__libc_current_sigrtmin()
|
tty::__libc_current_sigrtmin()
|
||||||
};*/
|
};*/
|
||||||
let signal = signal::SIGUSR1;
|
let signal = signal::SIGUSR2;
|
||||||
|
|
||||||
let mode = tty::VtMode {
|
let mode = tty::VtMode {
|
||||||
mode: tty::VT_PROCESS,
|
mode: tty::VT_PROCESS,
|
||||||
|
|
Loading…
Reference in New Issue