[PATCH] xfree86: rename allowEmptyInput to forceInputDevices.
Julien Cristau
jcristau at debian.org
Thu Nov 11 00:22:56 PST 2010
On Thu, Nov 11, 2010 at 13:43:13 +1000, Peter Hutterer wrote:
> This is a more accurate name for the actual functionality than
> allowEmptyInput. Historically, allowEmptyInput has allowed the server to
> start with no input devices. Since 1.4 and the introduction of VCP and VCK,
> there are always two input devices present.
>
> allowEmptyInput was changed in behaviour to essentially "ignore xorg.conf
> devices or not", auto-adding the built-in devices if disabled.
>
> Rename to forceInputDevices, because that's essentially what it does. When
> disabled (i.e. when hotplugging is enabled), it disables all
> mouse/kbd/vmmouse devices configured in the xorg.conf file.
> When enabled, it forces the traditional behaviour for input devices:
> - use input devices configured in the server layout
> - if none are configured, use the first pointer and the first keyboard
> device in the xorg.conf
> - if none are configured, create the default pointer/keyboard devices.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> hw/xfree86/common/xf86Config.c | 36 ++++++++++++++++---------------
> hw/xfree86/common/xf86Globals.c | 4 +-
> hw/xfree86/common/xf86Privstr.h | 3 +-
> hw/xfree86/os-support/linux/lnx_init.c | 2 +-
> 4 files changed, 23 insertions(+), 22 deletions(-)
>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list