From 78f2c9ac607f8597565936aea4c859dca3d696b9 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Jun 2025 15:51:28 +0200 Subject: output {width,height}{,_mm} from let --- app/xoutinfo.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/xoutinfo.hs b/app/xoutinfo.hs index da1360a..3ced671 100644 --- a/app/xoutinfo.hs +++ b/app/xoutinfo.hs @@ -75,8 +75,8 @@ main = do , device_scale_factor = dpi_x / default_dpi , dpi_x = dpi_x , dpi_y = dpi_y - , width = fromIntegral xrr_moninf_width - , height = fromIntegral xrr_moninf_height - , width_mm = fromIntegral xrr_moninf_mwidth - , height_mm = fromIntegral xrr_moninf_mheight + , width = width + , height = height + , width_mm = width_mm + , height_mm = height_mm } -- cgit v1.2.3