diff options
| author | MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> | 2023-08-08 16:52:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-08 18:52:20 +0200 |
| commit | 6295cbe9cb39b67e8d2dae1e4edeb281d84f5483 (patch) | |
| tree | bfa75a2ddfe6ec9c8abae0a30467ab02f7160b89 /src/debug/HyprCtl.cpp | |
| parent | b68292340c910292b6df3d504c9ee706027d8407 (diff) | |
keybinds: Keep aspect ratio (#2907)
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"; } |
