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/Window.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index bdd079de..d3c34a63 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -10,8 +10,7 @@ #include "helpers/Vector2D.hpp" #include "helpers/WLSurface.hpp" -enum eIdleInhibitMode -{ +enum eIdleInhibitMode { IDLEINHIBIT_NONE = 0, IDLEINHIBIT_ALWAYS, IDLEINHIBIT_FULLSCREEN, @@ -122,6 +121,7 @@ struct SWindowAdditionalConfigData { CWindowOverridableVar noMaxSize = false; CWindowOverridableVar dimAround = false; CWindowOverridableVar forceRGBX = false; + CWindowOverridableVar keepAspectRatio = false; CWindowOverridableVar borderSize = -1; // -1 means unset, takes precedence over the renderdata one }; -- cgit v1.2.3