Open a profile's apps even when the screens can't be arranged

With no head pose (the headset off), ft-layout use stopped before
ft-floatd opened the apps. The screens now stay where they are, the
profile's hidden screens still hide, and the apps open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DeeJanuzandClaude Opus 5.5 committed 2026-10-01 14:47:53 -06:00
1 parent 20e8d6254a
commit 3da17bc838
1 file changed
+5 -1
+5 -1
View File
@@ -1161,9 +1161,13 @@ def main(argv):
apply()
except RuntimeError as e:
log(f"not arranged now: {e}")
try: # the screens stay put, but the profile's hidden ones still hide
send_hidden(screens_socket(), layout)
except RuntimeError:
pass
else:
kwin_follow()
open_apps(argv[2])
open_apps(argv[2]) # floating windows go relative to the screens, wherever they are
else:
changes = apply_scales()
log("kwin: " + (" ".join(changes) if changes else "unchanged"))