xserver-multidpi/composite
Daniel Stone 2989f10716 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
(cherry picked from commit 04211c3532)
2008-05-16 19:49:05 +03:00
..
compalloc.c [COMPOSITE] Composite used for pixmap population on redirect. (Bug #7447) 2007-09-04 11:19:47 -07:00
compext.c Set noCompositeExtension to TRUE when failing to initialize the extension (e.g. when Xinerama is enabled). 2007-10-30 00:56:15 +02:00
compinit.c Don't fail compScreenInit if the driver added its own alternate visuals. 2007-07-31 14:23:58 -07:00
compint.h [COMPOSITE] Composite used for pixmap population on redirect. (Bug #7447) 2007-09-04 11:19:47 -07:00
compwindow.c Prevent the -wm command line option from causing a SEGV 2008-05-16 19:49:05 +03:00
Makefile.am get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00