Skip to content

xcb: Fix detection of screen sizes for High-DPI

The platform plugins use sizes in device pixels, while QScreen::geometry() returns size in device independent pixels. So convert it.

In particular this fixes setting _NET_WM_STRUT_PARTIAL which is done when setting _NET_WM_STRUT in KWindowSystemPrivateX11::setStrut().

Merge request reports

Loading