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