xserver/randr
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Plattner 08dfff92e8 randr: Compare all the bytes in RRPostPendingProperties
RRPostPendingProperties tries to compare the pending and current
property values to decide whether they're actually changing.  However,
it does this using a memcmp that passes in pending_value->size as the
number of bytes.  This is actually the number of elements, where each
element is (pending_value->format / 8) bytes long.  This causes the
pending value to not be propagated if the first pending_value->size
bytes are the same and only the end of it is changing.

Fix this by computing the total number of bytes to compare in the
memcmp.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-07-29 16:41:53 -07:00
..
Makefile.am
randr.c randr: Add RRConstrainCursorHarder 2011-03-14 13:35:51 -04:00
randrstr.h randr: Add RRConstrainCursorHarder 2011-03-14 13:35:51 -04:00
rrcrtc.c randr: void function cannot return value 2011-06-06 08:47:56 -07:00
rrdispatch.c include: add version_compare helper function 2011-05-13 09:41:50 +10:00
rrinfo.c
rrmode.c
rroutput.c
rrpointer.c
rrproperty.c randr: Compare all the bytes in RRPostPendingProperties 2011-07-29 16:41:53 -07:00
rrscreen.c randr: check rotated virtual size limits correctly 2011-05-25 09:44:52 -06:00
rrsdispatch.c
rrtransform.c
rrtransform.h
rrxinerama.c