Respect 'enable-scroll' setting for xworkspaces module
This commit is contained in:
parent
0dedb85721
commit
a5b310872c
@ -264,8 +264,10 @@ namespace modules {
|
|||||||
output += module::get_output();
|
output += module::get_output();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_scroll) {
|
||||||
m_builder->cmd(mousebtn::SCROLL_DOWN, string{EVENT_PREFIX} + string{EVENT_SCROLL_DOWN});
|
m_builder->cmd(mousebtn::SCROLL_DOWN, string{EVENT_PREFIX} + string{EVENT_SCROLL_DOWN});
|
||||||
m_builder->cmd(mousebtn::SCROLL_UP, string{EVENT_PREFIX} + string{EVENT_SCROLL_UP});
|
m_builder->cmd(mousebtn::SCROLL_UP, string{EVENT_PREFIX} + string{EVENT_SCROLL_UP});
|
||||||
|
}
|
||||||
|
|
||||||
m_builder->append(output);
|
m_builder->append(output);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user