xserver-multidpi/composite
James Cloos 04211c3532 Prevent the -wm command line option from causing a SEGV
The -wm (when mapped) option for the BackingStore support has been
causing the server to dereference a NULL pointer.

This has probably been the case since backing store has been
implemented on top of Composite.

It looks like (some of?) Composite didn’t expect its WIndowPtr
argument to be the root window.

In Composite’s compCheckRedirect() function we now avoid calling
compAllocPixmap() and compFreePixmap() when the pWin pointer’s
parent member is NULL, as is it the case with a server’s root window.

This addresses:

https://bugs.freedesktop.org/show_bug.cgi?id=15878
2008-05-12 03:03:13 -04:00
..
compalloc.c Merge branch 'master' into XACE-SELINUX 2007-11-05 19:08:36 -05:00
compext.c Rework composite overlay window code to fix several resource management bugs. 2008-05-04 21:54:27 -07:00
compinit.c Rework composite overlay window code to fix several resource management bugs. 2008-05-04 21:54:27 -07:00
compint.h Rework composite overlay window code to fix several resource management bugs. 2008-05-04 21:54:27 -07:00
compoverlay.c Rework composite overlay window code to fix several resource management bugs. 2008-05-04 21:54:27 -07:00
compwindow.c Prevent the -wm command line option from causing a SEGV 2008-05-12 03:03:13 -04:00
Makefile.am Rework composite overlay window code to fix several resource management bugs. 2008-05-04 21:54:27 -07:00