This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QGtkScreen: Only divide by dpr when needed
In 30b8b6a we divided the returned resolution by the display scale. This is necessary under Wayland due to a gtk+ bug, but doing this of course breaks x11. A bug has been filed for this upstream (https://bugzilla.gnome.org/show_bug.cgi?id=788497), but in the meantime, only do the division on Wayland to avoid breaking X11.
- Loading branch information