13 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
2751b352ac configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:02:04 +01:00
Enrico Weigelt, metux IT consult
6d280e8244 drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 19:08:22 +01:00
Enrico Weigelt, metux IT consult
724d3a3d5d use stdbool instead of Xorg's "Bool" type
No need for carrying around almost half a century old baggage,
since C standard has an official bool type.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-09 11:35:00 +01:00
Enrico Weigelt, metux IT consult
02cd226c07 bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

We can also get rid of some ifdef wood this ways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-15 15:15:59 +02:00
Alan Coopersmith
b74c0a1326 Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-05 17:54:12 -08:00
Thomas Hellstrom
c8ec00f537 vmmouse: Add support for the access restrict command
The access restrict command, if implemented, restricts vmmouse port
access to the indicated level.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michael Banack <banackm@vmware.com>
2015-04-08 07:12:23 -07:00
Stefan Dirsch
1cbbc03c4b vmmouse_client.h: Include xorg-server.h before xf86_OSproc.h
xf86_OSproc.h cannot be included without first including xorg-server.h.

Without this the build fails on systems with the latest glibc,
throwing this error:

In file included from /usr/include/string.h:634:0,
                 from /usr/include/xorg/os.h:53,
                 from /usr/include/xorg/misc.h:115,
                 from /usr/include/xorg/window.h:50,
                 from /usr/include/xorg/globals.h:7,
                 from /usr/include/xorg/opaque.h:34,
                 from /usr/include/xorg/xf86_OSproc.h:127,
                 from vmmouse_client.h:42,
                 from vmmouse_client.c:38:
/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
strndup(const char *str, size_t n);

This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h),
causing os.h to redefine it.

Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
2014-10-08 12:09:05 +02:00
Jeremy Huddleston Sequoia
336f863383 Always include config.h first
This fixes some build warnings about CSRG_BASED being redefined due to
incorrect header include ordering.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2013-11-28 11:59:53 -08:00
Julien Cristau
b22d830a4e Don't clobber CFLAGS
CFLAGS is a user variable, don't set it from configure.
2010-04-17 01:39:23 +02:00
Gaetan Nadon
27813c665b make: remove unrequired INCLUDES = -I$(srcdir)
Already covered by DEFAULT_INCLUDES

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-22 08:57:48 +10:00
Shelley Gong
d616098686 1) Fix bug where motion notify events were being sent with every button event.
2) Classify relative vs. absolute packets individually rather than from a
   global flag.

3) Compile with older distros.

4) Bump for 12.6.4 Release.

Signed-off-by: Philip Langdale <philipl@fido2.homeip.net>
2009-05-11 10:13:58 -07:00
Alan Coopersmith
d5ae42ec38 Map Solaris/Sun compiler #defines to gcc equivalents
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-07 15:53:32 -07:00
Philip Langdale
370a0ffa78 Move shared vmmouse files into a separate static lib so we can
share it with the vmmouse detection utility I'm about to add.
2008-10-21 18:52:02 -07:00