xserver-multidpi/hw
Keith Packard 4172aa137c dri2: Only deal with output windows and pixmaps.
This reverts commit fdb081b430
"dri2: Deal with input-only windows by using WindowDrawable()"
and replaces it as follows:

Reject the creation of a DRI2 drawable for UNDRAWABLE_WINDOW (input-only
windows) and DRAWABLE_BUFFER (whatever those are) drawables and only look up
privates for the supported drawable types.

The rest of the the code can continue pretending there's only output windows
and pixmaps, which are the only kinds of drawables relevant for DRI2.

Fixes server crash with GLX compositing managers such as compiz or kwin, due
to looking up a window private for a pixmap and getting a bogus pointer.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-10 07:20:03 -07:00
..
dmx Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
kdrive Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 dri2: Only deal with output windows and pixmaps. 2010-06-10 07:20:03 -07:00
xnest Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xquartz Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xwin Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00