xserver-multidpi/composite
Adam Jackson f80119120c composite: Make compIsAlternateVisual safe even if Composite is off
As of ea483af9 we're calling this unconditionally from the GLX code so
the synthetic visual is in a lower select group. If Composite has been
disabled then GetCompScreen() will return NULL, and this would crash.

Rather than force the caller to check first, just always return FALSE if
Composite is disabled (which is correct, since none of the visuals will
be synthetic in that case).

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
2017-08-11 11:15:19 -04:00
..
compalloc.c composite: Fix repaint of borders (v2) 2016-12-07 12:31:43 -05:00
compext.c dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
compinit.c composite: Factor out backing store transition 2015-09-24 13:01:51 -04:00
compint.h composite: Fix repaint of borders (v2) 2016-12-07 12:31:43 -05:00
compositeext.h composite: Export compIsAlternateVisual 2017-01-25 11:27:06 -05:00
compoverlay.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
compwindow.c composite: Make compIsAlternateVisual safe even if Composite is off 2017-08-11 11:15:19 -04:00
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00