From f4c0930a266af3302ce286e96a07ed82bda0a7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 27 Nov 2014 19:25:17 +0100 Subject: [PATCH] renderingservertest: Proper DPI for the Output According to Wikipedia: * screens have a default DPI of 96 * 96 dot/in are 38 dot/cm * 1024/768 -> 269/202 mm --- src/wayland/tests/renderingservertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/tests/renderingservertest.cpp b/src/wayland/tests/renderingservertest.cpp index 1acae55722..e6816d358e 100644 --- a/src/wayland/tests/renderingservertest.cpp +++ b/src/wayland/tests/renderingservertest.cpp @@ -205,7 +205,7 @@ int main(int argc, char **argv) shell->create(); display.createShm(); OutputInterface *output = display.createOutput(&display); - output->setPhysicalSize(QSize(400, 300)); + output->setPhysicalSize(QSize(269, 202)); const QSize windowSize(1024, 768); output->addMode(windowSize); output->create();