summaryrefslogtreecommitdiff
path: root/src/managers/input
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/managers/input
parentb68292340c910292b6df3d504c9ee706027d8407 (diff)
keybinds: Keep aspect ratio (#2907)
Diffstat (limited to 'src/managers/input')
-rw-r--r--src/managers/input/InputManager.hpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 862dc886..1a3eac0c 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -7,21 +7,20 @@
#include "../../helpers/Timer.hpp"
#include "InputMethodRelay.hpp"
-enum eClickBehaviorMode
-{
+enum eClickBehaviorMode {
CLICKMODE_DEFAULT = 0,
CLICKMODE_KILL
};
-enum eMouseBindMode
-{
- MBIND_INVALID = -1,
- MBIND_MOVE = 0,
- MBIND_RESIZE
+enum eMouseBindMode {
+ MBIND_INVALID = -1,
+ MBIND_MOVE = 0,
+ MBIND_RESIZE = 1,
+ MBIND_RESIZE_BLOCK_RATIO = 2,
+ MBIND_RESIZE_FORCE_RATIO = 3
};
-enum eBorderIconDirection
-{
+enum eBorderIconDirection {
BORDERICON_NONE,
BORDERICON_UP,
BORDERICON_DOWN,