Drop useless prefix from functions

Prefixing the functions with glx_ should be enough.
Add mouse pointer capture

Use the xcursor library from the xshm input to capture the
mouse pointer.