xserver-multidpi/hw/kdrive
Søren Sandmann Pedersen 623c414765 ephyr: Ensure stride of private framebuffer is multiple of 4
The fb layer of X can't deal with strides that are not a multiple of
4, so when Xephyr allocates its own framebuffer it should make sure to
align it.

This fixes crashes and rendering corruption when Xephyr runs in a
depth that is different from the host X server and its screen size is
not a multiple of 4 / depth. (This is particularly easy to trigger if
you use the -resizeable option).

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Soren Sandmann <ssp@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-31 18:24:33 -07:00
..
ephyr ephyr: Ensure stride of private framebuffer is multiple of 4 2013-10-31 18:24:33 -07:00
fake Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
fbdev Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
linux kdrive: Fix const cast warnings in driver name handling. 2013-08-21 09:10:45 -07:00
src unbreak KdEnableInput 2013-10-21 14:08:06 +10:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00
Xkdrive.man The great kdrive purge. 2008-05-16 08:16:01 -04:00