Set parent frame for OSD

This ensures the OSD is displayed on the current monitor.
This commit is contained in:
Milan Zamazal 2022-06-17 19:29:30 +02:00
parent b7a83c81c1
commit 2759cce8a6

View File

@ -193,6 +193,7 @@ The indicator is displayed only on graphical terminals."
(setq pw-ui--osd-frame (make-frame `((unsplittable . t) (setq pw-ui--osd-frame (make-frame `((unsplittable . t)
,@pipewire-osd-frame-parameters ,@pipewire-osd-frame-parameters
(minibuffer . nil) (minibuffer . nil)
(parent-frame . ,(selected-frame))
(width . ,(+ 2 (length string))) (width . ,(+ 2 (length string)))
(height . 1) (height . 1)
(min-width . 1) (min-width . 1)