Update Smithay, with Window that supports X11 surfaces

This commit is contained in:
Ian Douglas Scott 2024-02-21 13:24:56 -08:00 committed by Victoria Brekenfeld
parent 849882a7db
commit 3036448c19
24 changed files with 482 additions and 619 deletions

View file

@ -642,7 +642,7 @@ impl State {
if non_desktop {
let Ok(output_name) = drm_helpers::interface_name(&device.drm, conn) else {
continue
continue;
};
let drm_helpers::EdidInfo {
model,
@ -779,7 +779,7 @@ impl State {
if non_desktop {
let Ok(output_name) = drm_helpers::interface_name(&device.drm, conn) else {
continue
continue;
};
let drm_helpers::EdidInfo {
model,

View file

@ -302,7 +302,9 @@ fn try_vulkan_allocator(node: &DrmNode) -> Option<Allocator> {
let Some(device) = devices
.filter(|phd| {
phd.has_device_extension(smithay::reexports::ash::extensions::ext::PhysicalDeviceDrm::name())
phd.has_device_extension(
smithay::reexports::ash::extensions::ext::PhysicalDeviceDrm::name(),
)
})
.find(|phd| {
phd.primary_node().unwrap() == Some(*node) || phd.render_node().unwrap() == Some(*node)