Open a specific display

name is in the format: "hostname:number.screen_number"

See http://www.x.org/releases/X11R7.7/doc/man/man3/XOpenDisplay.3.xhtml

Property definitions

x11 :: x11 $ Sys :: x_open_display
# Open a specific display
#
# `name` is in the format: "hostname:number.screen_number"
#
# See <http://www.x.org/releases/X11R7.7/doc/man/man3/XOpenDisplay.3.xhtml>
fun x_open_display(name: String): Pointer import String.to_cstring `{
	return (void*)XOpenDisplay(String_to_cstring(name));
`}
lib/x11/x11.nit:31,1--38,2