Input: Pass sprite instead of device to FixUpEventFromWindow
authorDaniel Stone <daniel@fooishbar.org>
Mon, 20 Sep 2010 05:03:04 +0000 (15:03 +1000)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 6 Jan 2011 17:10:36 +0000 (17:10 +0000)
commit07a892cd8276f8092de95f1909f2ebec6f5fdf08
treeb4c49ac67387ef8ad4c3e4d8d181deac40129f21
parent10d6c3ca103ea155488cd2f29052334b5691e680
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>
Xi/exevents.c
dix/events.c
include/input.h