macbook: patch aquamarine legacy-iface cursor null bug
This commit is contained in:
parent
2244f339c9
commit
41cbc1dd6f
1 changed files with 13 additions and 0 deletions
|
|
@ -54,6 +54,19 @@
|
||||||
|
|
||||||
# wait_prepare/wait_finish were removed from struct vb2_ops in Linux 6.8
|
# wait_prepare/wait_finish were removed from struct vb2_ops in Linux 6.8
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
# Legacy DRM iface (AQ_NO_ATOMIC): every commit without cursor flags
|
||||||
|
# hits the else-branch and nulls the cursor plane → cursor vanishes
|
||||||
|
# whenever it isn't moving (vfr=false commits every frame). Only null
|
||||||
|
# it when the cursor is actually meant to be hidden. Bug present
|
||||||
|
# upstream as of aquamarine 0.11.0 / main (July 2026).
|
||||||
|
(final: prev: {
|
||||||
|
aquamarine = prev.aquamarine.overrideAttrs (old: {
|
||||||
|
postPatch = (old.postPatch or "") + ''
|
||||||
|
sed -i 's|} else if (drmModeSetCursor(|} else if (!connector->output->cursorVisible \&\& drmModeSetCursor(|' \
|
||||||
|
src/backend/drm/impl/Legacy.cpp
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
})
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
linuxPackages_6_12 = prev.linuxPackages_6_12.extend (lpFinal: lpPrev: {
|
linuxPackages_6_12 = prev.linuxPackages_6_12.extend (lpFinal: lpPrev: {
|
||||||
facetimehd = lpPrev.facetimehd.overrideAttrs (old: {
|
facetimehd = lpPrev.facetimehd.overrideAttrs (old: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue