waylandsink: Make wl_viewporter optional
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 Sep 2016 18:10:02 +0000 (14:10 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 Sep 2016 18:14:10 +0000 (14:14 -0400)
commit4bb5823ceaac74a2c4b4ba0461406497c3e8dc6d
tree9f4625e6fbb905ce1ff233c3d5622449a133aa04
parenta5ead086f9b3cfaa3f286cec31fc4fcd1bc1970d
waylandsink: Make wl_viewporter optional

This makes the viewporter interface optional. The end result is
obviously far from optimal, though it greatly helps testing on older
compostitors or gnome-wayland. We can make it strictly needed later when
this new interface get widely adopted.
ext/wayland/wldisplay.c
ext/wayland/wlwindow.c