diff options
author | emersion <contact@emersion.fr> | 2018-05-19 13:01:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-19 13:01:50 +0100 |
commit | 8585533a78413bd2dd98ca91c17781ace750cca3 (patch) | |
tree | 1b3be730192cc4927e309b9b4d7b6431818293f6 /xwayland | |
parent | b5472796251f8d7ef9d9da7f20db0aaa11ace127 (diff) | |
parent | 1a3921d4d4ecd40a7147f1728feaae0e07c12d88 (diff) |
Merge pull request #989 from ascent12/unused_arg
Remove unused argument
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/xwayland.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index 51035f0e..36d75845 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -185,7 +185,7 @@ static void xwayland_finish_display(struct wlr_xwayland *wlr_xwayland) { } static bool xwayland_start_display(struct wlr_xwayland *wlr_xwayland, - struct wl_display *wl_display, struct wlr_compositor *compositor); + struct wl_display *wl_display); static bool xwayland_start_server(struct wlr_xwayland *wlr_xwayland); static bool xwayland_start_server_lazy(struct wlr_xwayland *wlr_xwayland); @@ -289,7 +289,7 @@ static int xwayland_socket_connected(int fd, uint32_t mask, void* data){ } static bool xwayland_start_display(struct wlr_xwayland *wlr_xwayland, - struct wl_display *wl_display, struct wlr_compositor *compositor) { + struct wl_display *wl_display) { wlr_xwayland->display_destroy.notify = handle_display_destroy; wl_display_add_destroy_listener(wl_display, &wlr_xwayland->display_destroy); @@ -414,7 +414,7 @@ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, wl_signal_init(&wlr_xwayland->events.new_surface); wl_signal_init(&wlr_xwayland->events.ready); - if (!xwayland_start_display(wlr_xwayland, wl_display, compositor)) { + if (!xwayland_start_display(wlr_xwayland, wl_display)) { goto error_alloc; } |