summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-09-20 15:03:04 +1000
committerDaniel Stone <daniel@fooishbar.org>2011-01-06 17:10:36 +0000
commit07a892cd8276f8092de95f1909f2ebec6f5fdf08 (patch)
treeb4c49ac67387ef8ad4c3e4d8d181deac40129f21 /include
parent10d6c3ca103ea155488cd2f29052334b5691e680 (diff)
Input: Pass sprite instead of device to FixUpEventFromWindow
Since FixUpEventFromWindow only uses the sprite trace to determine the window stack, pass in a sprite instead of hardcoding the device sprite, so we can deliver to windows other than the one currently containing the sprite. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include')
-rw-r--r--include/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h
index 76f646f39..a20f8a07a 100644
--- a/include/input.h
+++ b/include/input.h
@@ -528,7 +528,7 @@ extern _X_EXPORT void FreeInputAttributes(InputAttributes *attrs);
/* misc event helpers */
extern Mask GetEventFilter(DeviceIntPtr dev, xEvent *event);
extern Mask GetWindowXI2Mask(DeviceIntPtr dev, WindowPtr win, xEvent* ev);
-void FixUpEventFromWindow(DeviceIntPtr pDev,
+void FixUpEventFromWindow(SpritePtr pSprite,
xEvent *xE,
WindowPtr pWin,
Window child,