diff options
| author | Mike Will <myQwil@gmail.com> | 2024-12-06 01:16:58 -0500 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-12-11 17:27:49 +0000 |
| commit | df956a0f6fbcfd7397b2d7b86883c0936c7795ec (patch) | |
| tree | 269946352158faa6a455c9e87337cb83c37998eb /src/desktop/Window.hpp | |
| parent | 33f271c29a0069a95755b1d3252aeebe0fd85287 (diff) | |
windowrules: add rules for mouse and touchpad scroll factors (#8655)
Diffstat (limited to 'src/desktop/Window.hpp')
| -rw-r--r-- | src/desktop/Window.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index fc7ead24..590194e1 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -184,6 +184,9 @@ struct SWindowData { CWindowOverridableVar<int> rounding; CWindowOverridableVar<int> borderSize; + CWindowOverridableVar<float> scrollMouse; + CWindowOverridableVar<float> scrollTouchpad; + CWindowOverridableVar<std::string> animationStyle; CWindowOverridableVar<Vector2D> maxSize; CWindowOverridableVar<Vector2D> minSize; @@ -442,6 +445,8 @@ class CWindow { bool isFullscreen(); bool isEffectiveInternalFSMode(const eFullscreenMode); int getRealBorderSize(); + float getScrollMouse(); + float getScrollTouchpad(); void updateWindowData(); void updateWindowData(const struct SWorkspaceRule&); void onBorderAngleAnimEnd(void* ptr); |
