summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2023-08-08 16:52:20 +0000
committerGitHub <noreply@github.com>2023-08-08 18:52:20 +0200
commit6295cbe9cb39b67e8d2dae1e4edeb281d84f5483 (patch)
treebfa75a2ddfe6ec9c8abae0a30467ab02f7160b89 /src/Window.hpp
parentb68292340c910292b6df3d504c9ee706027d8407 (diff)
keybinds: Keep aspect ratio (#2907)
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp4
1 files changed, 2 insertions, 2 deletions
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<bool> noMaxSize = false;
CWindowOverridableVar<bool> dimAround = false;
CWindowOverridableVar<bool> forceRGBX = false;
+ CWindowOverridableVar<bool> keepAspectRatio = false;
CWindowOverridableVar<int> borderSize = -1; // -1 means unset, takes precedence over the renderdata one
};