This fixes the mouse being constrained to the top left quarter of the window on Wayland HiDPI setups.
Framebuffer size is scaled by the display scale. This fixes the game being shrunk to the bottom left quarter of the window on Wayland HiDPI setups. Corresponding change in librw: glfwGetWindowSize -> glfwGetFramebufferSize.