lookup_for_xdisplay


Description:

[ CCode ( cname = "gdk_x11_lookup_xdisplay" ) ]
[ Version ( since = "2.2" ) ]
public static unowned Display lookup_for_xdisplay (Display xdisplay)

Find the Display corresponding to xdisplay, if any exists.

Parameters:

xdisplay

a pointer to an X Display

Returns:

the Display, if found, otherwise null.