I think it would be nice to have this fixed in 5.27 too, given that it's a one-line change and we're going to make another release at some point soon.
I'm not clicking the merge button until a KWin person approves it, though.
BUG: 469777
(cherry picked from commit 5ae170f1)
(cherry picked from commit 416ed647)