I am trying to make a Wayland program, and my compositor is Sway. To make it work well, I want my program to use the output size that Sway gives it. The question is... how in the world do I find out what that size actually is??? I can't find it anywhere in the documentation!
To be clear (due to the response at https://www.reddit.com/r/wayland/comments/bz6q3p/how_in_the_world_do_i_find_out_the_size_of_a/, I am talking about code to find the resolution of a new shell surface, NOT a command to find the resolution of my screen, which I already know very well (two 1280x1024 monitors).
there doesn't seem to be anything here