From 6295cbe9cb39b67e8d2dae1e4edeb281d84f5483 Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:52:20 +0000 Subject: keybinds: Keep aspect ratio (#2907) --- src/debug/HyprCtl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debug/HyprCtl.cpp') diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 6ad13ce4..2713dee2 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -1002,6 +1002,8 @@ std::string dispatchSetProp(std::string request) { PWINDOW->m_sAdditionalConfigData.forceRGBX.forceSetIgnoreLocked(configStringToInt(VAL), lock); } else if (PROP == "bordersize") { PWINDOW->m_sSpecialRenderData.borderSize.forceSetIgnoreLocked(configStringToInt(VAL), lock); + } else if (PROP == "keepaspectratio") { + PWINDOW->m_sAdditionalConfigData.keepAspectRatio.forceSetIgnoreLocked(configStringToInt(VAL), lock); } else { return "prop not found"; } -- cgit v1.2.3