mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 23:28:05 +02:00
xfree86 input: always open devices on NewInputDeviceRequest
This commit is contained in:
parent
acd8419948
commit
4ae7745a0d
1 changed files with 2 additions and 9 deletions
|
|
@ -222,15 +222,8 @@ xf86ActivateDevice(LocalDevicePtr local)
|
|||
DeviceIntPtr dev;
|
||||
|
||||
if (local->flags & XI86_CONFIGURED) {
|
||||
int open_on_init;
|
||||
|
||||
open_on_init = local->flags & (XI86_OPEN_ON_INIT | XI86_ALWAYS_CORE);
|
||||
|
||||
dev = AddInputDevice(local->device_control,
|
||||
open_on_init);
|
||||
#ifdef DEBUG
|
||||
ErrorF("activated device %d: %s\n", dev->id, local->name);
|
||||
#endif
|
||||
dev = AddInputDevice(local->device_control, TRUE);
|
||||
|
||||
if (dev == NULL)
|
||||
FatalError("Too many input devices");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue