mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Merge remote-tracking branch 'herrb/master'
This commit is contained in:
commit
6378d0233d
9 changed files with 308 additions and 5 deletions
|
|
@ -111,7 +111,7 @@ CLEANFILES = sdksyms.c sdksyms.dep
|
|||
EXTRA_DIST += sdksyms.sh
|
||||
|
||||
sdksyms.dep sdksyms.c: sdksyms.sh
|
||||
CPP='$(CPP)' AWK='$(AWK)' $(srcdir)/sdksyms.sh $(top_srcdir) $(CFLAGS) $(AM_CFLAGS) $(INCLUDES)
|
||||
CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $(srcdir)/sdksyms.sh $(top_srcdir) $(CFLAGS) $(AM_CFLAGS) $(INCLUDES)
|
||||
|
||||
SDKSYMS_DEP = sdksyms.dep
|
||||
include $(SDKSYMS_DEP)
|
||||
|
|
|
|||
|
|
@ -1318,12 +1318,14 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout)
|
|||
}
|
||||
|
||||
if (!xf86Info.forceInputDevices && !(foundPointer && foundKeyboard)) {
|
||||
#if defined(CONFIG_HAL) || defined(CONFIG_UDEV)
|
||||
#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) || defined(CONFIG_WSCONS)
|
||||
const char *config_backend;
|
||||
#if defined(CONFIG_HAL)
|
||||
config_backend = "HAL";
|
||||
#else
|
||||
#elif defined(CONFIG_UDEV)
|
||||
config_backend = "udev";
|
||||
#else
|
||||
config_backend = "wscons";
|
||||
#endif
|
||||
xf86Msg(X_INFO, "The server relies on %s to provide the list of "
|
||||
"input devices.\n\tIf no devices become available, "
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ xf86InfoRec xf86Info = {
|
|||
.log = LogNone,
|
||||
.disableRandR = FALSE,
|
||||
.randRFrom = X_DEFAULT,
|
||||
#if defined(CONFIG_HAL) || defined(CONFIG_UDEV)
|
||||
#if defined(CONFIG_HAL) || defined(CONFIG_UDEV) || defined(CONFIG_WSCONS)
|
||||
.forceInputDevices = FALSE,
|
||||
.autoAddDevices = TRUE,
|
||||
.autoEnableDevices = TRUE
|
||||
|
|
|
|||
|
|
@ -936,7 +936,8 @@ NewInputDeviceRequest (InputOption *options, InputAttributes *attrs,
|
|||
|
||||
if (strcmp(input_option_get_key(option), "_source") == 0 &&
|
||||
(strcmp(input_option_get_value(option), "server/hal") == 0 ||
|
||||
strcmp(input_option_get_value(option), "server/udev") == 0)) {
|
||||
strcmp(input_option_get_value(option), "server/udev") == 0 ||
|
||||
strcmp(input_option_get_value(option), "server/wscons") == 0)) {
|
||||
is_auto = 1;
|
||||
if (!xf86Info.autoAddDevices) {
|
||||
rval = BadMatch;
|
||||
|
|
|
|||
Loading…
Reference in a new issue