Revert "Fix XTS regression in XCopyColormapAndFree"

This change was to fix the next change that we are to revert as well.

This reverts commit 68c72a7341.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254>
This commit is contained in:
Olivier Fourdan 2024-06-06 16:25:26 +02:00 committed by Marge Bot
parent c099d0105f
commit 5dfedaf4aa

View file

@ -53,11 +53,6 @@ Colormap XCopyColormapAndFree(
mid = req->mid = XAllocID(dpy);
req->srcCmap = src_cmap;
/* re-lock the display to keep XID handling in sync */
UnlockDisplay(dpy);
SyncHandle();
LockDisplay(dpy);
#if XCMS
_XcmsCopyCmapRecAndFree(dpy, src_cmap, mid);
#endif