Skip to content
Snippets Groups Projects
Commit 2b0f9fdd authored by Niels Möller's avatar Niels Möller
Browse files

* Xlib.pmod (Display.open): Call open_socket().

Rev: lib/modules/Protocols.pmod/X.pmod/Xlib.pmod:1.10
parent ddd1c7da
No related branches found
No related tags found
No related merge requests found
...@@ -680,8 +680,11 @@ class Display ...@@ -680,8 +680,11 @@ class Display
/* Asynchronous connection */ /* Asynchronous connection */
if (async) if (async)
set_nonblocking(0, 0, close_callback); {
if (host)
open_socket();
set_nonblocking(0, 0, close_callback);
}
if(host) if(host)
if (!connect(host, XPORT + (int)fields[1])) if (!connect(host, XPORT + (int)fields[1]))
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment