mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: set the device's sprite when using AttachDevice
Sprite is set to the master device's sprite.
This commit is contained in:
@@ -2264,6 +2264,7 @@ AttachDevice(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr master)
|
||||
return BadAccess;
|
||||
|
||||
dev->master = master;
|
||||
dev->spriteInfo->sprite = master->spriteInfo->sprite;
|
||||
|
||||
return Success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user