mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
view: implement foreign toplevel fullscreen indicator
This commit is contained in:
parent
c5c632aaae
commit
a01573016a
|
@ -978,6 +978,10 @@ static void set_fullscreen_iterator(struct sway_container *con, void *data) {
|
|||
if (con->view->impl->set_fullscreen) {
|
||||
bool *enable = data;
|
||||
con->view->impl->set_fullscreen(con->view, *enable);
|
||||
if (con->view->foreign_toplevel) {
|
||||
wlr_foreign_toplevel_handle_v1_set_fullscreen(
|
||||
con->view->foreign_toplevel, *enable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue