[mutter/wayland] xwayland: Use server protocol wrappers instead of wl_resource_post_event
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] xwayland: Use server protocol wrappers instead of wl_resource_post_event
- Date: Wed, 29 Jan 2014 15:30:53 +0000 (UTC)
commit 9c876722a032caebb671c4323a5c833cb937fc60
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jan 29 10:27:16 2014 -0500
xwayland: Use server protocol wrappers instead of wl_resource_post_event
src/wayland/meta-xwayland.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index ab010f0..44f6c41 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -73,13 +73,8 @@ bind_xserver (struct wl_client *client,
wl_resource_set_implementation (compositor->xserver_resource,
&xserver_implementation, compositor, NULL);
- wl_resource_post_event (compositor->xserver_resource,
- XSERVER_LISTEN_SOCKET,
- compositor->xwayland_abstract_fd);
-
- wl_resource_post_event (compositor->xserver_resource,
- XSERVER_LISTEN_SOCKET,
- compositor->xwayland_unix_fd);
+ xserver_send_listen_socket (compositor->xserver_resource, compositor->xwayland_abstract_fd);
+ xserver_send_listen_socket (compositor->xserver_resource, compositor->xwayland_unix_fd);
/* Make sure xwayland will recieve the above sockets in a finite
* time before unblocking the initialization mainloop since we are
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]