Re: [Vala] Detect wayland



Before someone says "using GDK_IS_WAYLAND_DISPLAY", my question is how
to do that on Vala, because I can't find those macros in the VAPI files.


El 12/12/16 a las 21:21, rastersoft escribió:
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]