mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
flutter_desktop: get double click time, win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -684,3 +684,10 @@ pub fn check_super_user_permission() -> ResultType<bool> {
|
||||
let status = std::process::Command::new("pkexec").arg(arg).status()?;
|
||||
Ok(status.success() && status.code() == Some(0))
|
||||
}
|
||||
|
||||
pub fn get_double_click_time() -> u32 {
|
||||
// to-do
|
||||
// GtkSettings *settings = gtk_settings_get_default ();
|
||||
// g_object_get (settings, "gtk-double-click-time", &double_click_time, NULL);
|
||||
500 as _
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user