From 2759cce8a63f0c21944786c94165ab439ac074f0 Mon Sep 17 00:00:00 2001 From: Milan Zamazal Date: Fri, 17 Jun 2022 19:29:30 +0200 Subject: [PATCH] Set parent frame for OSD This ensures the OSD is displayed on the current monitor. --- pw-ui.el | 1 + 1 file changed, 1 insertion(+) diff --git a/pw-ui.el b/pw-ui.el index 50238ba..4a2e160 100644 --- a/pw-ui.el +++ b/pw-ui.el @@ -193,6 +193,7 @@ The indicator is displayed only on graphical terminals." (setq pw-ui--osd-frame (make-frame `((unsplittable . t) ,@pipewire-osd-frame-parameters (minibuffer . nil) + (parent-frame . ,(selected-frame)) (width . ,(+ 2 (length string))) (height . 1) (min-width . 1)