wip: connection

This commit is contained in:
Kingtous
2022-11-04 12:02:17 +08:00
parent 28ad271693
commit 1f40963b5d
4 changed files with 60 additions and 18 deletions

View File

@@ -1244,6 +1244,9 @@ 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);
}
pub fn main_hide_docker() -> SyncReturn<bool> {