summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-01-06 11:32:26 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-01-07 08:28:23 +1000
commit4fbadc8b17237f3c7f8c0bf56003d1139c86655e (patch)
tree42268d3e6cce021007e7bd86fe115afe084c2227 /include/input.h
parentf3480286aeb3009623d8d4b0202eadda0049552d (diff)
Input: Prevent MD grabs from wandering on to other MDs
The code to set sync.other in DeliverGrabbedEvents is supposed to reset sync.other for a paired MD to the grab under consideration, but was rather optimistic in resetting sync.other for _all_ devices. This would fall apart given two sets of MDs (A paired with B, Y paired with Z), where both MDs were in FREEZE_BOTH_NEXT_EVENT due to being called with SyncBoth, where no event had yet triggered the grab. An event being processed on MD A would result in B, Y and Z all having sync.other set to A's grab, rather than just B. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
0 files changed, 0 insertions, 0 deletions