This patch enables for all HiDPI aware X clients in our Wayland session Multi
The following patch to XWayland needs to be applied in order to work:
More information about the internal mechanism can be found in the description
and commit message of this merge request.
Additionally for common browsers to work the workspace should set GDK_SCALE to
the maximum scale factor of the output configuration.
A next step would be to do this programmatically. For example workspace could
listen to a DBus signal sent by KWin when the maximum scale factor changes.
Watch it in action here: https://youtu.be/a8HPS3LbCCg