# See the License for the specific language governing permissions and
# limitations under the License.
-# Serices from the X11 library
+# Services from the X11 library
module x11 is pkgconfig
+`{
+ #include <X11/Xlib.h>
+`}
+
# Open the current display from the environment variables
#
# See <http://www.x.org/releases/X11R7.7/doc/man/man3/XOpenDisplay.3.xhtml>
# 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));