mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 01:00:07 +01:00
The previous code was copied and in both cases incorrectly fixed up the colormaps after resizing the visuals, this patch consolidates the visual resize + colormaps fixups in one place. This version also consolidates the vid allocation for the DepthPtr inside the function. I'm not 100% sure colormap.[ch] is the correct place for this but visuals are mostly created in fb and I know thats not the place to be resizing them. Fixes fd.o bug #19470. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| bstore.h | ||
| bstorestr.h | ||
| closestr.h | ||
| closure.h | ||
| colormap.h | ||
| colormapst.h | ||
| cursor.h | ||
| cursorstr.h | ||
| dix-config-apple-verbatim.h | ||
| dix-config.h.in | ||
| dix.h | ||
| dixaccess.h | ||
| dixevents.h | ||
| dixfont.h | ||
| dixfontstr.h | ||
| dixgrabs.h | ||
| dixstruct.h | ||
| eventconvert.h | ||
| events.h | ||
| eventstr.h | ||
| exevents.h | ||
| extension.h | ||
| extinit.h | ||
| extnsionst.h | ||
| gc.h | ||
| gcstruct.h | ||
| globals.h | ||
| hotplug.h | ||
| input.h | ||
| inputstr.h | ||
| kdrive-config.h.in | ||
| Makefile.am | ||
| misc.h | ||
| miscstruct.h | ||
| opaque.h | ||
| os.h | ||
| pixmap.h | ||
| pixmapstr.h | ||
| privates.h | ||
| property.h | ||
| propertyst.h | ||
| protocol-versions.h | ||
| ptrveloc.h | ||
| region.h | ||
| regionstr.h | ||
| registry.h | ||
| resource.h | ||
| rgb.h | ||
| screenint.h | ||
| scrnintstr.h | ||
| selection.h | ||
| servermd.h | ||
| site.h | ||
| swaprep.h | ||
| swapreq.h | ||
| validate.h | ||
| version-config.h.in | ||
| window.h | ||
| windowstr.h | ||
| XIstubs.h | ||
| xkb-config.h.in | ||
| xkbfile.h | ||
| xkbrules.h | ||
| xkbsrv.h | ||
| xkbstr.h | ||
| xorg-config.h.in | ||
| xorg-server.h.in | ||
| xserver-properties.h | ||
| xwin-config.h.in | ||