Reputation: 536
I want to use XGrabKeyboard in my GLUT app. It wants Display* as a first argument. How do I fetch it from GLUT?
Display*
Upvotes: 1
Views: 263
Okay, nevermind. I found up glXGetCurrentDisplay()
glXGetCurrentDisplay()