sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit a01573016a0a18476afbc2fa7c467406338a7672
parent c5c632aaae78b1e6ac8c28341e782541bd138599
Author: Ronan Pigott <rpigott@berkeley.edu>
Date:   Thu, 30 Jul 2020 15:52:45 -0700

view: implement foreign toplevel fullscreen indicator

Diffstat:
Msway/tree/container.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -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); + } } }