opt: compile

This commit is contained in:
Kingtous 2022-12-17 10:39:07 +08:00
parent 1f40963b5d
commit 65ab43aa4a

View File

@ -1244,6 +1244,8 @@ pub fn main_current_is_wayland() -> SyncReturn<bool> {
pub fn main_is_login_wayland() -> SyncReturn<bool> {
SyncReturn(is_login_wayland())
}
pub fn main_start_pa() {
#[cfg(target_os = "linux")]
std::thread::spawn(crate::ipc::start_pa);