diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-11-04 15:27:30 +1030 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-11-11 14:52:54 +1000 |
commit | fc3e8bfb82323477b54181c6d546c90f53f1ebd8 (patch) | |
tree | 473bbb06ce5c7bcfbdfac91ee800170b99001712 /dix | |
parent | 31005efb1bb6be5a892ff905f754109dc3fa8fe6 (diff) |
mi: clean up mieqProcessInputEvents, copy all events before processing.
Copy the EventRec's information into local variables before processing them,
this should make it safer for upcoming threading and also makes it easier to
read.
Simplify the event allocation code from the abyss it was before.
This also fixes a potential bug where a custom handler could scramble the
event before the same -now scrambled- event was then passed through the
master's custom event handler.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'dix')
0 files changed, 0 insertions, 0 deletions