I’ve tried searching for a solution to this issue without finding one. The following is how I reproduce this issue:
This is a completely new install with EndeavourOS Artemis Nova 22.9. I open a terminal & it works as expected. It’s only when I run htop will it run full screen for a second and then automatically switches to a floating window without any input from me. I haven’t found any other apps yet that do this. I tried looking thru the waybar and sway configs and found $term-float in my sway config. I tried changing that to $term, but it did not change the behaviour.