windowrules: add rules for mouse and touchpad scroll factors (#8655)
This commit is contained in:
parent
33f271c29a
commit
df956a0f6f
6 changed files with 40 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue