Your DOSBox Flatpak isn't going fullscreen in opengl because it's falling back to surface rendering! Lawnie shows how to remedy this on Linux systems by downloading a runtime using the terminal. Alternatively, read this article from Linux Uprising:
https://www.linuxuprising.com/2018/06...