How to get Display pointer

Tiago Vignatti vignatti at
Wed Jun 11 11:55:59 PDT 2008

john fulgor escreveu:
> Hello,
> 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? 

Read here basically:

Good luck,

Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre

More information about the xorg mailing list