[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Always wayland !


Le dimanche 26 mai 2024 à 14:46 +0100, Bruce Steers a écrit :
> 
> 
> On Sun, 26 May 2024 at 14:41, Philippe Valarcher
> <philippe.valarcher@xxxxxxx> wrote:
> > Good morning,
> > How to get around this necessary sentence:
> > 
> > $plugvis = new mediacontrol ($mp, $tipoplug [siind])
> > 
> > Who is planting without info (is not an error) under Wayland?
> > Under Xorg it works as announced in the documentation, under
> > Wayland no question of creating a viewing area on the fly of
> > anything.
> > 
> > The rest of the code
> > 
> > $mp.video.visualization = $plugvis
> > 
> > Another question that would allow a display of the display problem
> > under Wayland:
> > Is it possible to recover information from the display system under
> > which a program is launched, Wayland or Xorg to be able to carry
> > out a test?

I just do agree with that, it really sucks !
Anyway tried this : 
sT4 = "$XDG_SESSION_TYPE"
Shell "echo " & sT4 To sT3

If MDebut.sT3 = "wayland" & gb.NewLine Then $plugVis = Null

It works only for audio not for video.

Thanks!

Follow-Ups:
Re: Always wayland !Bruce Steers <bsteers4@xxxxxxxxx>
References:
Always wayland !Philippe Valarcher <philippe.valarcher@xxxxxxx>
Re: Always wayland !Bruce Steers <bsteers4@xxxxxxxxx>