xfree86: remove XI86_SHARED_POINTER flag.
Not needed anymore. By default, all devices are slaves of first master device.
This commit is contained in:
parent
c7b878b904
commit
271d4c3d62
|
@ -135,11 +135,6 @@ xf86ProcessCommonOptions(LocalDevicePtr local,
|
||||||
xf86Msg(X_CONFIG, "%s: always reports core events\n", local->name);
|
xf86Msg(X_CONFIG, "%s: always reports core events\n", local->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xf86SetBoolOption(list, "SharedPointer", 0)) {
|
|
||||||
local->flags |= XI86_SHARED_POINTER;
|
|
||||||
xf86Msg(X_CONFIG, "%s: is shared device\n", local->name);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (xf86SetBoolOption(list, "SendDragEvents", 1)) {
|
if (xf86SetBoolOption(list, "SendDragEvents", 1)) {
|
||||||
local->flags |= XI86_SEND_DRAG_EVENTS;
|
local->flags |= XI86_SEND_DRAG_EVENTS;
|
||||||
} else {
|
} else {
|
||||||
|
@ -177,7 +172,7 @@ xf86ActivateDevice(LocalDevicePtr local)
|
||||||
local->dev = dev;
|
local->dev = dev;
|
||||||
|
|
||||||
dev->coreEvents = local->flags & XI86_ALWAYS_CORE;
|
dev->coreEvents = local->flags & XI86_ALWAYS_CORE;
|
||||||
dev->spriteInfo->spriteOwner = !(local->flags & XI86_SHARED_POINTER);
|
dev->spriteInfo->spriteOwner = FALSE;
|
||||||
|
|
||||||
if (DeviceIsPointerType(dev))
|
if (DeviceIsPointerType(dev))
|
||||||
{
|
{
|
||||||
|
|
|
@ -81,7 +81,6 @@
|
||||||
#define XI86_CORE_KEYBOARD 0x20 /* device is the core keyboard */
|
#define XI86_CORE_KEYBOARD 0x20 /* device is the core keyboard */
|
||||||
#define XI86_POINTER_CAPABLE 0x40 /* capable of being a core pointer */
|
#define XI86_POINTER_CAPABLE 0x40 /* capable of being a core pointer */
|
||||||
#define XI86_KEYBOARD_CAPABLE 0x80 /* capable of being a core keyboard */
|
#define XI86_KEYBOARD_CAPABLE 0x80 /* capable of being a core keyboard */
|
||||||
#define XI86_SHARED_POINTER 0x100 /* device shares core cursor */
|
|
||||||
|
|
||||||
#define XI_PRIVATE(dev) \
|
#define XI_PRIVATE(dev) \
|
||||||
(((LocalDevicePtr)((dev)->public.devicePrivate))->private)
|
(((LocalDevicePtr)((dev)->public.devicePrivate))->private)
|
||||||
|
|
Loading…
Reference in New Issue