Add inhibit_fullscreen command

inhibit_fullscreen allows a container to service but ignore fullscreen
requests from clients. This allows clients to change to fullscreen mode
without changing dimensions of its container.
This commit is contained in:
Kenny Levinsen 2019-06-15 20:02:17 +02:00 committed by Pedro Côrte-Real
parent 45aa5c104c
commit ab58edfc90
8 changed files with 92 additions and 10 deletions

View file

@ -363,7 +363,7 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
}
}
container_set_fullscreen(view->container, e->fullscreen);
container_request_fullscreen(view->container, e->fullscreen);
arrange_root();
transaction_commit_dirty();