External plugins on Wayland visible when another application is fullscreen
Hello,
When using xfce4-panel with external plugins (pulseaudio, notes, genmon, etc.) the icons (and text in the case of genmon) are still visible when another application is fullscreen.
Source code wise I see xfce4-panel is making use of gtk-layer-shell (when supported by the compositor, which my compositor [Wayfire] does support). It seems that plugins are initialized (and generally stay at the OVERLAY level) and in the 'wrapper_' files (do external plugins use this?) there's a check to demote the layer of the plugins to TOP if the active window is determined to be fullscreen.
Given the above, I've two questions: 1.) Do external plugins use the 'wrapper_' files in their build? And thus is the fullscreen check not working correctly? 2.) Why is the default layer-shell layer OVERLAY? I understand that plugins are trying to be rendered on top of the panel, but couldn't the same be achieved using two different lower layers? i.e. Panel defaults to BOTTOM, plugins default to TOP (or they could both use the same layer and make the assumption that later spawned surfaces will default to occluding the backing panel)
Thanks,