clients: Fork clickdot as confine
The new confine client will be used to demonstrate pointer confinement.
It is so far identical to clickdot except that it doesn't respond to
clicks.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Acked-by: Daniel Stone <daniels@collabora.com>
diff --git a/Makefile.am b/Makefile.am
index 2e9eebc..cdf7bdb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -461,6 +461,7 @@
weston-resizor \
weston-eventdemo \
weston-clickdot \
+ weston-confine \
weston-transformed \
weston-fullscreen \
weston-stacking \
@@ -669,6 +670,12 @@
weston_clickdot_LDADD = libtoytoolkit.la
weston_clickdot_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS)
+weston_confine_SOURCES = \
+ clients/confine.c \
+ shared/helpers.h
+weston_confine_LDADD = libtoytoolkit.la
+weston_confine_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS)
+
weston_transformed_SOURCES = clients/transformed.c
weston_transformed_LDADD = libtoytoolkit.la
weston_transformed_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS)