wayland, fix check Lock && Mod Resolution

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-11-23 23:57:01 +08:00
parent fc89257566
commit e31130d4f8
3 changed files with 44 additions and 10 deletions

View File

@@ -241,6 +241,7 @@ pub(super) fn get_display_num() -> ResultType<usize> {
}
}
#[allow(dead_code)]
pub(super) fn release_resouce() {
if scrap::is_x11() {
return;