xf86/modes: Fix shadow rotation crashing when screen pixmap changes
authorPauli Nieminen <pauli.nieminen@linux.intel.com>
Thu, 22 Sep 2011 15:38:53 +0000 (18:38 +0300)
committerKeith Packard <keithp@keithp.com>
Mon, 3 Oct 2011 18:41:22 +0000 (11:41 -0700)
commit463dd87062edaa974cb8c7163328a53197f237e1
treedec2f929723aa6a7035663781c752315e447c12c
parentf5d50b46ddeb039ab6564141f61261e94ee67637
xf86/modes: Fix shadow rotation crashing when screen pixmap changes

Driver may change screen pixmaps after page flipping that would then
make damage lose track of the root pixmap.

Using root window for shadow damages fixes the problem because
SetWindowPixmap is implemented in shadow code.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
hw/xfree86/modes/xf86Rotate.c