pavucontrol: Make context menus work on wayland
Otherwise, they open with an offset.
This commit is contained in:
parent
5de2acd1f0
commit
7fd7f98708
|
@ -50,4 +50,17 @@ in
|
||||||
});
|
});
|
||||||
|
|
||||||
cyanrip = callPackage ./cyanrip { };
|
cyanrip = callPackage ./cyanrip { };
|
||||||
|
|
||||||
|
# TODO: Remove when pavucontrol > 4.0 is released
|
||||||
|
pavucontrol = super.pavucontrol.overrideAttrs (o: o // {
|
||||||
|
patches = [
|
||||||
|
# This fixes context menus on wayland
|
||||||
|
# Bug report: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/63
|
||||||
|
# Merge Request: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/20
|
||||||
|
(super.fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/ae278b8643cf1089f66df18713c8154208d9a505.patch";
|
||||||
|
sha256 = "066vhxjz6gmi2sp2n4pa1cdsxjnq6yml5js094g5n7ld34p84dpj";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue