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

Re: Always wayland !


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?
>
> --
>
> Philippe Valarcher <philippe.valarcher@xxxxxxx>
>

I cannot answer the first question but the second look at Desktop.Platform

Desktop.Platform will be either "x11" or "wayland"

If Desktop.Platform = "wayland" then Message.Warning("wayland sucks,
install x11")

BruceS

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