mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
remove wait prelogin in service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -40,12 +40,6 @@ pub fn is_desktop_wayland() -> bool {
|
||||
get_display_server() == DISPLAY_SERVER_WAYLAND
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_x11_wayland() -> bool {
|
||||
let ds = get_display_server();
|
||||
ds == DISPLAY_SERVER_X11 || ds == DISPLAY_SERVER_WAYLAND
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_x11_or_headless() -> bool {
|
||||
!is_desktop_wayland()
|
||||
|
||||
Reference in New Issue
Block a user