"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dix/devices.c" between
xorg-server-1.20.7.tar.bz2 and xorg-server-1.20.8.tar.bz2

About: The X.Org X Server component of the X Window System architecture.

devices.c  (xorg-server-1.20.7.tar.bz2):devices.c  (xorg-server-1.20.8.tar.bz2)
skipping to change at line 2658 skipping to change at line 2658
* Return the device paired with the given device or NULL. * Return the device paired with the given device or NULL.
* Returns the device paired with the parent master if the given device is a * Returns the device paired with the parent master if the given device is a
* slave device. * slave device.
*/ */
DeviceIntPtr DeviceIntPtr
GetPairedDevice(DeviceIntPtr dev) GetPairedDevice(DeviceIntPtr dev)
{ {
if (!IsMaster(dev) && !IsFloating(dev)) if (!IsMaster(dev) && !IsFloating(dev))
dev = GetMaster(dev, MASTER_ATTACHED); dev = GetMaster(dev, MASTER_ATTACHED);
return dev->spriteInfo->paired; return dev->spriteInfo? dev->spriteInfo->paired: NULL;
} }
/** /**
* Returns the requested master for this device. * Returns the requested master for this device.
* The return values are: * The return values are:
* - MASTER_ATTACHED: the master for this device or NULL for a floating * - MASTER_ATTACHED: the master for this device or NULL for a floating
* slave. * slave.
* - MASTER_KEYBOARD: the master keyboard for this device or NULL for a * - MASTER_KEYBOARD: the master keyboard for this device or NULL for a
* floating slave * floating slave
* - MASTER_POINTER: the master pointer for this device or NULL for a * - MASTER_POINTER: the master pointer for this device or NULL for a
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)