aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-30 19:38:31 +0200
committeremersion <contact@emersion.fr>2017-09-30 19:38:31 +0200
commitce7d1faf3600c1a7934d52bc713177fb5058b092 (patch)
treeea75760982ebea110d8a4eaddd7f8ebc9bbb5f26 /rootston
parentce270fd73e976c69985f583ed8979f6316e92749 (diff)
Fix segfault in handle_request_resize
Diffstat (limited to 'rootston')
-rw-r--r--rootston/wl_shell.c2
1 files changed, 1 insertions, 1 deletions
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;