init wayland to update var 'cursor embeded'

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-01-29 12:41:16 +08:00
1 parent 7e0c9e17df
commit b84f3ba1ee
5 files changed
+28 -7

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ pub fn global_init() -> bool {
#[cfg(target_os = "linux")]
{
if !*IS_X11 {
crate::server::wayland::set_wayland_scrap_map_err();
crate::server::wayland::init();
}
}
true