summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-08-07 14:48:35 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-08-11 15:05:29 +1000
commitfe58cff48b6daa26b2d6f8a3b72d120db6fab642 (patch)
treea424cae03cda6cc746388d07283a811cf68299c9
parent4b2bed6912d79f0104770d7956f14b4448c8b0ed (diff)
Rename main source file to x86libinput.c
To avoid conflict and confusion with libinput's sources. This was originally triggered by needing a header file for the driver which cannot be named libinput.h. That need went away after other refacturing, but we might as well rename it now, sooner or later we'll need a xf86libinput.h file. Can't do much about the libinput-properties header though, not worth breaking other projects and it's namespaced into /usr/include/xorg anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/Makefile.am2
-rw-r--r--src/xf86libinput.c (renamed from src/libinput.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1f49893..6085a9a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,5 +33,5 @@ AM_CPPFLAGS =-I$(top_srcdir)/include $(LIBINPUT_CFLAGS)
@DRIVER_NAME@_drv_la_LIBADD = $(LIBINPUT_LIBS)
@DRIVER_NAME@_drv_ladir = @inputdir@
-@DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c
+@DRIVER_NAME@_drv_la_SOURCES = xf86libinput.c
diff --git a/src/libinput.c b/src/xf86libinput.c
index 49f73c9..49f73c9 100644
--- a/src/libinput.c
+++ b/src/xf86libinput.c