diff options
author | Rui Matos <tiagomatos@gmail.com> | 2014-10-06 15:31:42 +0200 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2014-10-10 18:25:24 +0200 |
commit | 6c2bbfced34eed8048374411cfaa2589e7c2914b (patch) | |
tree | d9e57034ad3c52a74bd347341bfb0206d95cdf02 /po/LINGUAS | |
parent | e6e81aea689c03206ec0c6125adc1461c7eba133 (diff) | |
download | gnome-settings-daemon-6c2bbfced34eed8048374411cfaa2589e7c2914b.tar.gz |
daemon: Add a check for wayland sessions
We want to do some things differently, or disable some features
entirely, when running under a wayland session.
Adding a global function which tries to connect to a wayland
compositor using the same method as a regular wayland client allows us
to achieve that.
For now, since we don't need to do anything else with the wayland
connection we tear it down immediately after checking. Note that g-s-d
uses the X11 GDK backend exclusively so there's no danger of this
being a duplicated wayland connection.
This commit introduces an optional build time dependency on
libwayland-client which is, by default, enabled or disabled
automatically depending on the pc file existence.
https://bugzilla.gnome.org/show_bug.cgi?id=738009
Diffstat (limited to 'po/LINGUAS')
0 files changed, 0 insertions, 0 deletions