Set physical size to something sensible -- 40x30 cm

Requested-by: Martin Gräßlin
This commit is contained in:
Sebastian Kügler 2014-11-20 10:00:51 +01:00
parent f8bc3e6598
commit 9e3aa9a7e3

View file

@ -189,7 +189,7 @@ int main(int argc, char **argv)
shell->create();
display.createShm();
OutputInterface *output = display.createOutput(&display);
output->setPhysicalSize(QSize(10, 10));
output->setPhysicalSize(QSize(400, 300));
const QSize windowSize(1024, 768);
output->addMode(windowSize);
output->create();