[Vala] Detect wayland



Hi all:

I want my program Terminus to be able to run under Wayland.
Unfortunately, by default tries to bind to a key, which Wayland doesn't
support and produces a core dump.

It is possible to detect if my code is running under Wayland to disable
the key binding?

Thanks.

-- 
Nos leemos
                         RASTER    (Linux user #228804)
raster rastersoft com              http://www.rastersoft.com



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