aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/root.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-01-25 08:29:21 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-01-25 08:29:21 +1000
commit20aa8ee67dc528299dbc8735220a1c081c7ff9f6 (patch)
tree685de48be3db51fc01510ccf051e2b63a4655fba /sway/tree/root.c
parentUpdate for swaywm/wlroots#1402 (diff)
downloadsway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.tar.gz
sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.tar.zst
sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.zip
Implement fullscreen global
Diffstat (limited to 'sway/tree/root.c')
-rw-r--r--sway/tree/root.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index 99cf91a7..476e47a3 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -101,7 +101,10 @@ void root_scratchpad_show(struct sway_container *con) {
101 // If the current con or any of its parents are in fullscreen mode, we 101 // If the current con or any of its parents are in fullscreen mode, we
102 // first need to disable it before showing the scratchpad con. 102 // first need to disable it before showing the scratchpad con.
103 if (new_ws->fullscreen) { 103 if (new_ws->fullscreen) {
104 container_set_fullscreen(new_ws->fullscreen, false); 104 container_fullscreen_disable(new_ws->fullscreen);
105 }
106 if (root->fullscreen_global) {
107 container_fullscreen_disable(root->fullscreen_global);
105 } 108 }
106 109
107 // Show the container 110 // Show the container