All the X launcher programs I could find seemed to use GTK. A quick hack written only with Xlib is thinglaunch.c. It compiles to a 6kB binary, and pops up a box where you can type a program to run. It has since been forked as thingylaunch and separately enhanced to work as a SSH_ASKPASS program.