From: Alexander Larsson <alexl@redhat.com>

diff -up xorg-server-1.10.0/xfixes/xfixes.c.fixbarriers xorg-server-1.10.0/xfixes/xfixes.c
--- xorg-server-1.10.0/xfixes/xfixes.c.fixbarriers	2011-03-21 11:29:41.289756241 +0100
+++ xorg-server-1.10.0/xfixes/xfixes.c	2011-03-21 11:30:22.135291955 +0100
@@ -99,7 +99,7 @@ static const int version_requests[] = {
     X_XFixesChangeCursorByName,	    /* Version 2 */
     X_XFixesExpandRegion,	    /* Version 3 */
     X_XFixesShowCursor,		    /* Version 4 */
-    X_XFixesCreatePointerBarrier,   /* Version 5 */
+    X_XFixesDestroyPointerBarrier,  /* Version 5 */
 };
 
 #define NUM_VERSION_REQUESTS	(sizeof (version_requests) / sizeof (version_requests[0]))
