fix wayland Display::all() comment (#8664)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-07-09 22:10:39 +08:00
committed by GitHub
parent f07936a911
commit e2d217a138
2 changed files with 2 additions and 2 deletions

View File

@@ -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()?