From dd4f879ecdd75847b2acc978e6efaeb504d0b58e Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Wed, 21 Jun 2023 11:17:00 +0200 Subject: [PATCH] outputconfigurationstore: reformat comment GIT_SILENT --- src/outputconfigurationstore.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/outputconfigurationstore.cpp b/src/outputconfigurationstore.cpp index 213b249177..6a14fb516c 100644 --- a/src/outputconfigurationstore.cpp +++ b/src/outputconfigurationstore.cpp @@ -122,13 +122,12 @@ double OutputConfigurationStore::chooseScale(Output *output, OutputMode *mode) c double OutputConfigurationStore::targetDpi(Output *output) const { - /* The eye's ability to perceive detail diminishes with distance, so objects - * that are closer can be smaller and their details remain equally - * distinguishable. As a result, each device type has its own ideal physical - * size of items on its screen based on how close the user's eyes are - * expected to be from it on average, and its target DPI value needs to be - * changed accordingly. - */ + // The eye's ability to perceive detail diminishes with distance, so objects + // that are closer can be smaller and their details remain equally + // distinguishable. As a result, each device type has its own ideal physical + // size of items on its screen based on how close the user's eyes are + // expected to be from it on average, and its target DPI value needs to be + // changed accordingly. const auto devices = input()->devices(); const bool hasLaptopLid = std::any_of(devices.begin(), devices.end(), [](const auto &device) { return device->isLidSwitch();