aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-09 11:21:55 +0100
committeremersion <contact@emersion.fr>2017-11-09 11:21:55 +0100
commit758514fe5d67d226290694208a34f90d1a857d8e (patch)
tree0268d9758316f999122e4390ee7bd12fa0c2b88c /rootston
parent2118c691b13c20d7100abfa02f9e274667501aef (diff)
Fix xwayland _NET_WM_STATE handling
Diffstat (limited to 'rootston')
-rw-r--r--rootston/xwayland.c2
1 files changed, 1 insertions, 1 deletions
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;