x11-wm/hyprland: backport a fix for ec9f74acaee3
(cherry picked from commit 95fda07aa79382cd8198f160f99631f62666fe2e)