Improve tests behaviour on set ups with high dpi
ClosedPublic

Authored by apol on Mon, Mar 23, 7:28 PM.

Details

Summary

We are testing on a 100x100 mock display. We'd ask QWidget for our
display's dpi, it would not use the mock display but the actual
system's. On my system it made the corners overlap with each other and
all sorts of weird things happened.

Test Plan

The tests actually pass here.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Mon, Mar 23, 7:28 PM
Restricted Application added a project: KWin. · View Herald TranscriptMon, Mar 23, 7:28 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
apol requested review of this revision.Mon, Mar 23, 7:28 PM
davidedmundson accepted this revision.Mon, Mar 23, 7:29 PM
This revision is now accepted and ready to land.Mon, Mar 23, 7:29 PM
This revision was automatically updated to reflect the committed changes.