diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2024-08-04 17:15:58 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2024-08-04 17:15:58 +0000 |
commit | c02d440306a407b23961ad200094196cb5a8b6e6 (patch) | |
tree | 3314b0ce2d35d7e7d50fecb35a2d9df8e37f35ef /lib/libX11/src/FreeCmap.c | |
parent | 75dee10ef366b2e9b772f7cbdaa9e81375e9c65f (diff) |
Update to libX11 1.8.10. tested by and ok rsadowski@
Diffstat (limited to 'lib/libX11/src/FreeCmap.c')
-rw-r--r-- | lib/libX11/src/FreeCmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libX11/src/FreeCmap.c b/lib/libX11/src/FreeCmap.c index 68496dd88..e2b76fa6f 100644 --- a/lib/libX11/src/FreeCmap.c +++ b/lib/libX11/src/FreeCmap.c @@ -41,12 +41,12 @@ XFreeColormap( LockDisplay(dpy); GetResReq(FreeColormap, cmap, req); + UnlockDisplay(dpy); + SyncHandle(); + #ifdef XCMS _XcmsDeleteCmapRec(dpy, cmap); #endif - UnlockDisplay(dpy); - SyncHandle(); - return 1; } |