linux x11 resolution

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-02-24 10:44:02 +08:00
1 parent 91a2a5b56e
commit 18a66749a1
7 files changed
+180 -7

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
use crate::{x11, common::TraitCapturer};
use crate::{common::TraitCapturer, x11};
use std::{io, ops, time::Duration};
pub struct Capturer(x11::Capturer);
@@ -90,6 +90,6 @@ impl Display {
}
pub fn name(&self) -> String {
"".to_owned()
self.0.name()
}
}