mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
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:
parent
45aa5c104c
commit
ab58edfc90
8 changed files with 92 additions and 10 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue