Hi:
You have the GDK_IS_WAYLAND_DISPLAY() C macro. You have an example in my
program Terminus ( https://gitlab.com/rastersoft/terminus ), in the
'checkwayland.c' and 'checkwayland.vapi' files (which is also an example
of how to do it in Vala, BTW).
El 8/2/19 a las 6:28, Daniel Kasak via gtk-
Hi! There is some reference code here:
https://developer.gnome.org/gdk3/stable/gdk3-Wayland-Interaction.html
https://developer.gnome.org/gdk3/stable/gdk3-X-Window-System-Interaction.html
- Include the backend specific headers: gdk/gdkx.h, gdk/gdkwayland.h
- Link with backend specific libs: g