mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix wayland Display::all() comment (#8664)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -59,7 +59,7 @@ impl Display {
|
||||
})
|
||||
}
|
||||
|
||||
// Call this function carefully for wayland, it may cause blocking
|
||||
// Currently, wayland need to call wayland::clear() before call Display::all()
|
||||
pub fn all() -> io::Result<Vec<Display>> {
|
||||
Ok(if super::is_x11() {
|
||||
x11::Display::all()?
|
||||
|
||||
Reference in New Issue
Block a user