fix cursor embeded value on x11

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2022-11-29 17:59:11 +08:00
parent 4d044ca57a
commit 5877bcf2a1

View File

@ -3,7 +3,7 @@ use std::{io, ops, time::Duration};
pub struct Capturer(x11::Capturer); pub struct Capturer(x11::Capturer);
pub const IS_CURSOR_EMBEDED: bool = true; pub const IS_CURSOR_EMBEDED: bool = false;
impl Capturer { impl Capturer {
pub fn new(display: Display, yuv: bool) -> io::Result<Capturer> { pub fn new(display: Display, yuv: bool) -> io::Result<Capturer> {