diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-07-30 15:52:45 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-08-05 11:05:49 +0200 |
commit | a01573016a0a18476afbc2fa7c467406338a7672 (patch) | |
tree | f0b3b345f529ecf78c0e069820d05ecaff93c252 /sway/tree | |
parent | Document required '\n' in swaybar-protocol (diff) | |
download | sway-a01573016a0a18476afbc2fa7c467406338a7672.tar.gz sway-a01573016a0a18476afbc2fa7c467406338a7672.tar.zst sway-a01573016a0a18476afbc2fa7c467406338a7672.zip |
view: implement foreign toplevel fullscreen indicator
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/container.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 65696f15..fe622c7b 100644 --- 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) { | |||
978 | if (con->view->impl->set_fullscreen) { | 978 | if (con->view->impl->set_fullscreen) { |
979 | bool *enable = data; | 979 | bool *enable = data; |
980 | con->view->impl->set_fullscreen(con->view, *enable); | 980 | con->view->impl->set_fullscreen(con->view, *enable); |
981 | if (con->view->foreign_toplevel) { | ||
982 | wlr_foreign_toplevel_handle_v1_set_fullscreen( | ||
983 | con->view->foreign_toplevel, *enable); | ||
984 | } | ||
981 | } | 985 | } |
982 | } | 986 | } |
983 | 987 | ||