From ce7d1faf3600c1a7934d52bc713177fb5058b092 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 30 Sep 2017 19:38:31 +0200 Subject: Fix segfault in handle_request_resize --- rootston/wl_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rootston/wl_shell.c') diff --git a/rootston/wl_shell.c b/rootston/wl_shell.c index cc3bd197..1991d332 100644 --- a/rootston/wl_shell.c +++ b/rootston/wl_shell.c @@ -32,7 +32,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) { static void handle_request_resize(struct wl_listener *listener, void *data) { struct roots_wl_shell_surface *roots_surface = - wl_container_of(listener, roots_surface, request_move); + wl_container_of(listener, roots_surface, request_resize); struct roots_view *view = roots_surface->view; struct roots_input *input = view->desktop->server->input; struct wlr_wl_shell_surface_resize_event *e = data; -- cgit v1.2.3