Update Smithay, with Window that supports X11 surfaces
This commit is contained in:
parent
849882a7db
commit
3036448c19
24 changed files with 482 additions and 619 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue