diff options
Diffstat (limited to 'Xi/exevents.c')
-rw-r--r-- | Xi/exevents.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index f390f6739..aa47d14c5 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -1913,6 +1913,14 @@ DeliverTouchEvents(DeviceIntPtr dev, TouchPointInfoPtr ti, if (ti->emulate_pointer) UpdateDeviceState(dev, &ev->device_event); + +void +SetDeviceRedirectWindow(DeviceIntPtr dev, WindowPtr window) +{ + SpritePtr pSprite = dev->spriteInfo->sprite; + + pSprite->redirectWindow = window; + CheckMotion(NULL, dev->u.master); } int |