-
Niels Möller authored
* src/server_x11.c (make_x11_server_info): New function. (class forwarded_x11_callback): New class, replacing channel_open_command_x11. (do_open_forwarded_x11): New function, replacing new_x11_channel. (make_forwarded_x11_callback): New function. (class open_forwarded_x11): Deleted. (expr server_x11_callback): Deleted. (class server_x11_socket): Replaced old lsh_fd pointer by an fd. This class should be merged with the corresponding port object. (make_server_x11_socket): New function. (open_x11_socket): Updated to new io_bind_sockaddr. Use make_server_x11_socket. Don't call io_listen, leave that to the caller. (class xauth_exit_callback): Deleted. (make_xauth_exit_callback): Deleted function. (bad_string): Deleted function. (create_xauth): New function using XauWriteAuth. (server_x11_setup): Support the single flag. Deleted code for spawnign an xauth process, use create_xauth and libXau instead. Use io_listen and make_forwarded_x11_callback. Deleted continuation and exception handling arguments. Changed DISPLAY to unix:<number>:<screen>. Rev: src/server_x11.c:1.23 Rev: src/server_x11.h:1.9
242269b6