diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-09-18 22:09:03 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-03-27 09:31:53 -0400 |
commit | 8e87102a87417955b34fc0062d945b9497756551 (patch) | |
tree | 1e8a90f46030bc0e244e9e9ed6e59572e1d05c3c /Xi/exevents.c | |
parent | f1d40ffa540a2e2d2339a872a8ad0a2ec9bcb656 (diff) |
Add redirect window for input device feature
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 |