XQueryKeymap -> TSXQueryKeymap (fixes the XIO errors reported).

diff --git a/tools/make_X11wrappers b/tools/make_X11wrappers
index 1a1c08b..cfbe899 100755
--- a/tools/make_X11wrappers
+++ b/tools/make_X11wrappers
@@ -173,6 +173,9 @@
 		  }
 		  if(m'\s*([^,]*[^, \t])\s*(,?\n)') {
 		      $args[$#args+1] = $1;
+		      if ($1 =~ /char\s*\[/) { # small hack for XQueryKeymap
+		      	$args[$#args] = "char*";
+		      }
 		  }
 	      }
 	      # Skip if vararg, function pointer arg, or not needed.