Fix segfault in handle_request_resize

master
emersion 7 years ago
parent ce270fd73e
commit ce7d1faf36
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -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) { static void handle_request_resize(struct wl_listener *listener, void *data) {
struct roots_wl_shell_surface *roots_surface = 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_view *view = roots_surface->view;
struct roots_input *input = view->desktop->server->input; struct roots_input *input = view->desktop->server->input;
struct wlr_wl_shell_surface_resize_event *e = data; struct wlr_wl_shell_surface_resize_event *e = data;

Loading…
Cancel
Save