How to get Display pointer

john fulgor johnfulgor at
Wed Jun 11 10:11:59 PDT 2008

I've written an input driver for a touch screen controller. 
It works, but now I need to use SwitchMode from the user code, and need to XListInputDevices. 
The problem is, how can I get the Display * needed by the above function? 



More information about the xorg mailing list