xserver: Branch 'master' - 10 commits

Keith Packard keithp at keithp.com
Fri May 27 08:58:56 UTC 2016


Michel Dänzer <michel at daenzer.net> writes:

> On 27.05.2016 08:08, Keith Packard wrote:
>> 
>> commit f84703b50cc908a127f4ad923ebbf56f8f244c0d
>> Author: Keith Packard <keithp at keithp.com>
>> Date:   Tue Dec 8 14:20:21 2015 -0800
>> 
>>     dix: Reallocate touchpoint buffer at input event time [v2]
>>     
>>     Now that input is threaded, malloc can be used at event time to resize
>>     the touchpoint buffer as needed.x
>>     
>>     v2: Remove "Need to grow the queue means dropping events."
>>         from comment as it no longer applies. (Peter Hutterer)
>>     
>>     Signed-off-by: Keith Packard <keithp at keithp.com>
>>     Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
>
> This change broke make check for me, specifically test/touch:
>
> touch: ../../test/touch.c:62: touch_grow_queue: Assertion
> `TouchBeginDDXTouch(&dev, 1234) == ((void *)0)' failed.

yeah, that test actually checks for the old (broken) X server behaviour
of dropping touch events that overfill the buffer. The X server doesn't
drop them anymore as it can call malloc while reading events now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test-Make-touch-test-reflect-new-ability-to-realloc-.patch
Type: text/x-diff
Size: 2787 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160527/9e3d7d99/attachment.patch>
-------------- next part --------------

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160527/9e3d7d99/attachment.sig>


More information about the xorg-devel mailing list