fix(xbacklight): respect enable-scroll
This commit is contained in:
parent
989bc00082
commit
1ac5c23fd2
1 changed files with 4 additions and 2 deletions
|
@ -120,8 +120,10 @@ namespace modules {
|
||||||
// with the cmd handlers
|
// with the cmd handlers
|
||||||
string output{module::get_output()};
|
string output{module::get_output()};
|
||||||
|
|
||||||
m_builder->cmd(mousebtn::SCROLL_UP, EVENT_SCROLLUP);
|
if (m_scroll) {
|
||||||
m_builder->cmd(mousebtn::SCROLL_DOWN, EVENT_SCROLLDOWN);
|
m_builder->cmd(mousebtn::SCROLL_UP, EVENT_SCROLLUP);
|
||||||
|
m_builder->cmd(mousebtn::SCROLL_DOWN, EVENT_SCROLLDOWN);
|
||||||
|
}
|
||||||
|
|
||||||
m_builder->append(output);
|
m_builder->append(output);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue