From 758514fe5d67d226290694208a34f90d1a857d8e Mon Sep 17 00:00:00 2001
From: emersion <contact@emersion.fr>
Date: Thu, 9 Nov 2017 11:21:55 +0100
Subject: Fix xwayland _NET_WM_STATE handling

---
 rootston/xwayland.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'rootston')

diff --git a/rootston/xwayland.c b/rootston/xwayland.c
index 431586ba..1da61ec3 100644
--- a/rootston/xwayland.c
+++ b/rootston/xwayland.c
@@ -170,7 +170,7 @@ static void handle_request_resize(struct wl_listener *listener, void *data) {
 
 static void handle_request_maximize(struct wl_listener *listener, void *data) {
 	struct roots_xwayland_surface *roots_surface =
-		wl_container_of(listener, roots_surface, request_resize);
+		wl_container_of(listener, roots_surface, request_maximize);
 	struct roots_view *view = roots_surface->view;
 	struct wlr_xwayland_surface *xwayland_surface = view->xwayland_surface;
 
-- 
cgit v1.2.3