Fix xwayland _NET_WM_STATE handling

This commit is contained in:
emersion 2017-11-09 11:21:55 +01:00
parent 2118c691b1
commit 758514fe5d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 32 additions and 24 deletions

View file

@ -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;