X11 backend: when resolution is unknown, approximate using "edges"

Though I am not able to test if it works correctly

BUG: 331706