Use non-rotated physical size of an output when required
1. In wl_output and kde_output_device_v2 protocols. This should fix dpi calculation in KScreen::Generator::bestScaleForOutput() when panel_orientation is set to rotate a screen by 90 or 270 degrees. 2. When comparing with physical size of libinput device. 3. In calculations with mode sizes which are not rotated. This change makes Output::physicalSize() return the raw physical size, which is used in most of cases. It should be rotated manually if needed. (cherry picked from commit 64ce2471)
Please register or sign in to comment