mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
wayland tip
This commit is contained in:
@@ -529,6 +529,7 @@ pub fn main_get_app_name() -> String {
|
||||
pub fn main_get_app_name_sync() -> SyncReturn<String> {
|
||||
SyncReturn(get_app_name())
|
||||
}
|
||||
|
||||
pub fn main_get_license() -> String {
|
||||
get_license()
|
||||
}
|
||||
@@ -1207,6 +1208,14 @@ pub fn main_on_main_window_close() {
|
||||
crate::portable_service::client::drop_portable_service_shared_memory();
|
||||
}
|
||||
|
||||
pub fn main_current_is_wayland() -> SyncReturn<bool> {
|
||||
SyncReturn(current_is_wayland())
|
||||
}
|
||||
|
||||
pub fn main_is_login_wayland() -> SyncReturn<bool> {
|
||||
SyncReturn(is_login_wayland())
|
||||
}
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
pub mod server_side {
|
||||
use jni::{
|
||||
|
||||
Reference in New Issue
Block a user