I have an OpenGL window via GLX and XLib, and I want to control the mouse
directly (presumably DGA is the best way). However, I can't get direct
mouse input through DGA unless I create a DGA window. But I already have
an OpenGL window, so I don't want to create a DGA window.

How can I enable DGA mouse access without having to create a DGA window?