aboutsummaryrefslogtreecommitdiffstats
path: root/autotiling.py
diff options
context:
space:
mode:
Diffstat (limited to 'autotiling.py')
-rwxr-xr-xautotiling.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/autotiling.py b/autotiling.py
index 4913e9c..cc42a43 100755
--- a/autotiling.py
+++ b/autotiling.py
@@ -31,8 +31,7 @@ def switch_splitting(i3, e, debug):
is_full_screen = con.fullscreen_mode == 1
else: # We are on sway
is_floating = con.type == 'floating_con'
- # On sway on 1st focus the parent container returns 1, then forever the focused container itself
- is_full_screen = con.fullscreen_mode == 1 or con.parent.fullscreen_mode == 1
+ is_full_screen = con.fullscreen_mode == 1
is_stacked = con.parent.layout == 'stacked'
is_tabbed = con.parent.layout == 'tabbed'