xwayland: Use server protocol wrappers instead of wl_resource_post_event
This commit is contained in:
parent
96fc93d744
commit
9c876722a0
@ -73,13 +73,8 @@ bind_xserver (struct wl_client *client,
|
|||||||
wl_resource_set_implementation (compositor->xserver_resource,
|
wl_resource_set_implementation (compositor->xserver_resource,
|
||||||
&xserver_implementation, compositor, NULL);
|
&xserver_implementation, compositor, NULL);
|
||||||
|
|
||||||
wl_resource_post_event (compositor->xserver_resource,
|
xserver_send_listen_socket (compositor->xserver_resource, compositor->xwayland_abstract_fd);
|
||||||
XSERVER_LISTEN_SOCKET,
|
xserver_send_listen_socket (compositor->xserver_resource, compositor->xwayland_unix_fd);
|
||||||
compositor->xwayland_abstract_fd);
|
|
||||||
|
|
||||||
wl_resource_post_event (compositor->xserver_resource,
|
|
||||||
XSERVER_LISTEN_SOCKET,
|
|
||||||
compositor->xwayland_unix_fd);
|
|
||||||
|
|
||||||
/* Make sure xwayland will recieve the above sockets in a finite
|
/* Make sure xwayland will recieve the above sockets in a finite
|
||||||
* time before unblocking the initialization mainloop since we are
|
* time before unblocking the initialization mainloop since we are
|
||||||
|
Loading…
Reference in New Issue
Block a user