diff options
author | emersion <contact@emersion.fr> | 2018-03-13 19:57:21 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-13 19:57:21 +0100 |
commit | e74ddaaf10f1c8078cf078f55428b9e86776ca93 (patch) | |
tree | c7a616685b4eaeb5eeacea72b36058b832e14e29 /rootston/xdg_shell_v6.c | |
parent | 125138f1a0448927c26c0f8a2761fed2df09b6ad (diff) |
xdg-shell-v6: redesign the configure/ack_configure workflow
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r-- | rootston/xdg_shell_v6.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index c81cd16a..84c76d16 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -385,4 +385,11 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { view->close = close; view->destroy = destroy; roots_surface->view = view; + + if (surface->toplevel_state->next.maximized) { + view_maximize(view, true); + } + if (surface->toplevel_state->next.fullscreen) { + view_set_fullscreen(view, true, NULL); + } } |