Peter Hutterer
d281866b74
mi: Clean up CopyGetMasterEvent, re-use the memory.
...
Alloc an EventList once and then re-use instead of allocing a new event each
time we need a master event.
There's a trick included: because all the event processing handlers only take
an xEvent, init a size 1 EventList and squash the events into this one.
Events that have count > 1 must be squished into an xEvent array anyway before
passing into the event handlers, so we don't lose anything here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
Acked-by: Daniel Stone <daniel@fooishbar.org >
2008-12-10 12:42:45 +10:00
..
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2006-07-21 17:56:00 -04:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-07-23 13:37:42 -04:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-10 12:42:45 +10:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-06-11 17:24:19 +09:30
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-05-28 14:23:08 +09:30
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2006-07-21 17:56:00 -04:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-07 02:22:19 -02:00
2008-12-03 05:43:34 -02:00
2007-04-19 17:49:34 -07:00
2008-08-19 14:47:10 -04:00
2007-06-29 14:06:52 -04:00
2007-06-29 14:06:52 -04:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00