xshm experiment

This commit is contained in:
galister
2024-02-05 02:07:03 +01:00
parent dddd4db9ef
commit 74257f4c42
3 changed files with 74 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ where
let (screens, extent) = if std::env::var("WAYLAND_DISPLAY").is_ok() {
get_screens_wayland(&app.session)
} else {
get_screens_x11()
get_screens_x11(&app.session)
};
let mut watch = create_watch::<T>(&app, &screens);