fix: use better patch on asahi for hyprland

This commit is contained in:
Youwen Wu 2024-08-24 11:28:02 -07:00
parent 7fb6171dcf
commit 0b902b95e4
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 16 additions and 5063 deletions

View file

@ -0,0 +1,15 @@
diff --git a/src/protocols/LinuxDMABUF.cpp b/src/protocols/LinuxDMABUF.cpp
index 0fbf832e..c6077114 100644
--- a/src/protocols/LinuxDMABUF.cpp
+++ b/src/protocols/LinuxDMABUF.cpp
@@ -492,9 +492,8 @@ CLinuxDMABufV1Protocol::CLinuxDMABufV1Protocol(const wl_interface* iface, const
return;
}
} else {
- protoLog(ERR, "DRM device {} has no render node, disabling linux dmabuf", device->nodes[DRM_NODE_PRIMARY] ? device->nodes[DRM_NODE_PRIMARY] : "null");
+ protoLog(ERR, "DRM device {} has no render node, disabling linux dmabuf checks", device->nodes[DRM_NODE_PRIMARY] ? device->nodes[DRM_NODE_PRIMARY] : "null");
drmFreeDevice(&device);
- removeGlobal();
}
});
}

File diff suppressed because it is too large Load diff

View file

@ -45,7 +45,7 @@
oldAttrs.patches oldAttrs.patches
or [] or []
++ [ ++ [
./asahi-fix.patch ./0001-linux-dmabuf-allow-on-split-node-systems.patch
]; ];
}); });
}) })