summaryrefslogtreecommitdiff
path: root/compositor
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-09-14 11:13:18 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-09-14 12:41:55 -0400
commit6dd08ebbe108c2c78cc23d6af0b00a84199d8b2c (patch)
tree7670e24beb6fab2629d0ccd4451df5f90a344d89 /compositor
parent76b43326a57b6c90ca464ff11e76e1217c9b7c70 (diff)
Move core protocol libraries into wayland/ subdirectory
Diffstat (limited to 'compositor')
-rw-r--r--compositor/70-wayland.rules6
-rw-r--r--compositor/Makefile5
2 files changed, 9 insertions, 2 deletions
diff --git a/compositor/70-wayland.rules b/compositor/70-wayland.rules
new file mode 100644
index 0000000..49442de
--- /dev/null
+++ b/compositor/70-wayland.rules
@@ -0,0 +1,6 @@
+KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1", ENV{WAYLAND_SEAT}="1"
+KERNEL=="event*", ENV{ID_INPUT_MOUSE}=="1", ENV{WAYLAND_SEAT}="1"
+KERNEL=="event*", ENV{ID_INPUT_TOUCHPAD}=="1", ENV{WAYLAND_SEAT}="1"
+KERNEL=="event*", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{WAYLAND_SEAT}="1"
+KERNEL=="card0", ENV{WAYLAND_SEAT}="1"
+
diff --git a/compositor/Makefile b/compositor/Makefile
index 5e67825..a17d414 100644
--- a/compositor/Makefile
+++ b/compositor/Makefile
@@ -1,7 +1,7 @@
include ../config.mk
CFLAGS += $(COMPOSITOR_CFLAGS)
-LDLIBS += -L.. -lwayland-server $(COMPOSITOR_LIBS) -rdynamic -lrt -lEGL -lm
+LDLIBS += -L../wayland -lwayland-server $(COMPOSITOR_LIBS) -rdynamic -lrt -lm
all : compositor
@@ -15,4 +15,5 @@ compositor : \
clean :
rm -f compositor *.o .*.deps
-install : \ No newline at end of file
+install :
+ install 70-wayland.rules ${udev_rules_dir}