Is this Factorio dev one of my viewers lol
@bisby @BrodieOnLinux yes, IMO the correct way to implement decorations on wayland is to have support for the xdg decorations protocol, i.e. allowing for the app and the compositor to negotiate between SSD and CSD.
im your case sway will likely negotiate SSD with the application, and the server-side decoration is something like a 1px border or just nothing.