Allow conditional compilation of xembed
authorPatrick Steinhardt <ps@pks.im>
Thu, 3 Nov 2016 13:33:38 +0000 (14:33 +0100)
committerPatrick Steinhardt <ps@pks.im>
Wed, 16 Nov 2016 18:00:08 +0000 (19:00 +0100)
commit27580fadc266438b97db10a03c8d230bc95f5ed1
tree9cbe7d0878c36a58681a670cc696fb46b87a6065
parentef43138395f8921608009a250eea036ffde35c21
Allow conditional compilation of xembed

In order to make use of the xembed feature, we require
functionality native to the X11 windowing environment to get a
window's X identifier. Obviously, this requires us to compile
with a Gtk+ library which has support for X, restricting us from
working on Wayland-only platforms.

The issue can be fixed by making the Xembed feature optional. As
it is the only feature requiring platform-specific features, this
neatly allows us to build for a Wayland-only platform when XEMBED
is disabled.
doc/vimb.1
src/config.def.h
src/main.c
src/main.h