We have a reasonable standard, Xorg.
Everything else you can package along with your application as a library. Steam does this farely well and manages to work on every distro I have tried, even when they officially support(iirc) just Ubuntu.
Re:2018 Desktop Linux Platform Issues
by MiyamotoAkira on Sunday October 07, 2018 @04:44AM
(#18159525)
As a user with a HiDPI laptop that needs to connect to non-HiDPI external monitors, Xorg is not reasonable. macOS is way ahead.
I think having a standard that all distros adhered to that provided a common, universal baseline that developers could depend upon would go a long way toward increasing developer productivity, interest, and desktop usability.