picom: never unredirect for mpv

Fullscreen mpv was unredirected and left the HDMI output (reverse PRIME sink) black, as i3lock did.
This commit is contained in:
Daniele Fucini committed 2026-11-21 15:11:38 +01:00
1 parent 9e2b6d52bb
commit be065bef95
1 file changed
+3 -2
+3 -2
View File
@@ -44,7 +44,8 @@ rules: ({
"_GTK_FRAME_EXTENTS@";
shadow = false;
}, {
# Unredirecting for i3lock left the HDMI output (reverse PRIME sink) black.
match = "class_g = 'i3lock'";
# Unredirecting fullscreen i3lock/mpv left the HDMI output (reverse PRIME sink) black.
match = "class_g = 'i3lock' || "
"class_g = 'mpv'";
unredir = false;
})