xserver-multidpi/hw/xfree86/man
Peter Hutterer fc4fbe8224 xfree86: add NoMatchFoo directives for InputClass sections
InputClass sections use various MatchFoo directives to decide which device to
apply to. This usually works fine for specific snippets but has drawbacks for
snippets that apply more generally to a multitude of devices.

This patch adds a NoMatchFoo directive to negate a match, thus allowing
snippets that only apply if a given condition is not set. Specifically, this
allows for more flexible fallback driver matching, it is now possible to use a
snippet that says "assign driver foo, but only if driver bar wasn't already
assigned to it". For example:

Section "InputClass"
   Identifier "libinput for tablets"
   MatchIsTablet "true"
   NoMatchDriver "wacom"
   Driver "libinput"
EndSection

The above only assigns libinput to tablet devices if wacom isn't already
assigned to this device, making it possible to select a specific driver by
installing/uninstalling it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2015-12-18 11:56:46 +10:00
..
Makefile.am man/Makefile.am: Fix Xorg.wrap.man Xwrapper.config.man missing from make dist 2014-04-18 16:37:22 +02:00
xorg.conf.d.man man: relocate manual pages in the man subdir outside doc 2011-03-14 13:50:38 -07:00
xorg.conf.man xfree86: add NoMatchFoo directives for InputClass sections 2015-12-18 11:56:46 +10:00
Xorg.man Xorg.man: update to reflect -nolisten tcp becoming default 2015-10-28 14:16:20 -04:00
Xorg.wrap.man Xorg.wrap.man: Fix spelling mistake in Xorg.wrap.1 2015-06-23 09:42:19 +02:00
Xwrapper.config.man Xorg.wrap manpages: use __appmansuffix__ instead of hardcoding 1 2014-04-18 16:37:42 +02:00