xdg-shell-v6: redesign the configure/ack_configure workflow

This commit is contained in:
emersion 2018-03-13 19:57:21 +01:00
parent 125138f1a0
commit e74ddaaf10
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 41 additions and 30 deletions

View file

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