From: Jason Gerecke <[email protected]>

Signed-off-by: Jason Gerecke <[email protected]>
Signed-off-by: Carlos Garnacho <[email protected]>
---
 configure.ac            | 2 +-
 hw/xwayland/Makefile.am | 7 +++++++
 hw/xwayland/xwayland.h  | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 395df80..bf8a0f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2499,7 +2499,7 @@ AM_CONDITIONAL(XFAKESERVER, [test "x$KDRIVE" = xyes && 
test "x$XFAKE" = xyes])
 
 dnl Xwayland DDX
 
-XWAYLANDMODULES="wayland-client >= 1.3.0 wayland-protocols >= 1.1 $LIBDRM 
epoxy"
+XWAYLANDMODULES="wayland-client >= 1.3.0 wayland-protocols >= 1.2 $LIBDRM 
epoxy"
 if test "x$XF86VIDMODE" = xyes; then
        XWAYLANDMODULES="$XWAYLANDMODULES $VIDMODEPROTO"
 fi
diff --git a/hw/xwayland/Makefile.am b/hw/xwayland/Makefile.am
index a3c9fce..fb7a12f 100644
--- a/hw/xwayland/Makefile.am
+++ b/hw/xwayland/Makefile.am
@@ -53,6 +53,8 @@ Xwayland_DEPENDENCIES = $(glamor_lib) $(XWAYLAND_LIBS)
 endif
 
 Xwayland_built_sources +=                                      \
+       tablet-unstable-v2-client-protocol.h                    \
+       tablet-unstable-v2-protocol.c                           \
        relative-pointer-unstable-v1-client-protocol.h          \
        relative-pointer-unstable-v1-protocol.c                 \
        pointer-constraints-unstable-v1-client-protocol.h       \
@@ -69,6 +71,11 @@ $(Xwayland_SOURCES): $(Xwayland_built_sources)
 relink:
        $(AM_V_at)rm -f Xwayland$(EXEEXT) && $(MAKE) Xwayland$(EXEEXT)
 
+tablet-unstable-v2-client-protocol.h: 
$(WAYLAND_PROTOCOLS_DATADIR)/unstable/tablet/tablet-unstable-v2.xml
+       $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
+tablet-unstable-v2-protocol.c: 
$(WAYLAND_PROTOCOLS_DATADIR)/unstable/tablet/tablet-unstable-v2.xml
+       $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
+
 relative-pointer-unstable-v1-protocol.c : 
$(WAYLAND_PROTOCOLS_DATADIR)/unstable/relative-pointer/relative-pointer-unstable-v1.xml
        $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
 relative-pointer-unstable-v1-client-protocol.h : 
$(WAYLAND_PROTOCOLS_DATADIR)/unstable/relative-pointer/relative-pointer-unstable-v1.xml
diff --git a/hw/xwayland/xwayland.h b/hw/xwayland/xwayland.h
index 5e5624b..2c336e9 100644
--- a/hw/xwayland/xwayland.h
+++ b/hw/xwayland/xwayland.h
@@ -42,6 +42,7 @@
 #include <randrstr.h>
 #include <exevents.h>
 
+#include "tablet-unstable-v2-client-protocol.h"
 #include "relative-pointer-unstable-v1-client-protocol.h"
 #include "pointer-constraints-unstable-v1-client-protocol.h"
 
-- 
2.9.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to