xwayland: Add initial support

This commit is contained in:
Victoria Brekenfeld 2023-01-18 20:23:41 +01:00
parent 78ffe3a93d
commit 1d28574088
23 changed files with 781 additions and 185 deletions

View file

@ -301,6 +301,9 @@ pub fn init_backend(
devices: HashMap::new(),
});
// TODO: Do multiple Xwaylands for better multigpu
state.launch_xwayland(Some(primary));
for (dev, path) in udev_dispatcher.as_source_ref().device_list() {
state
.device_added(dev, path.into(), dh)