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
|
|
@ -263,6 +263,10 @@ class CConfigManager {
|
|||
{"bordersize", [](const PHLWINDOW& pWindow) { return &pWindow->m_sWindowData.borderSize; }},
|
||||
};
|
||||
|
||||
std::unordered_map<std::string, std::function<CWindowOverridableVar<float>*(PHLWINDOW)>> mfWindowProperties = {
|
||||
{"scrollmouse", [](const PHLWINDOW& pWindow) { return &pWindow->m_sWindowData.scrollMouse; }},
|
||||
{"scrolltouchpad", [](const PHLWINDOW& pWindow) { return &pWindow->m_sWindowData.scrollTouchpad; }}};
|
||||
|
||||
bool m_bWantsMonitorReload = false;
|
||||
bool m_bForceReload = false;
|
||||
bool m_bNoMonitorReload = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue