lookup_for_xdisplay


Description:

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

Find the `GdkDisplay` corresponding to xdisplay, if any exists.

Parameters:

xdisplay

a pointer to an X Display

Returns:

the `GdkDisplay`, if found, otherwise null.