This commit is contained in:
patrick96 2021-02-12 19:57:18 +01:00 committed by Patrick Ziegler
parent 5caae186e0
commit 50f127f1bc
2 changed files with 0 additions and 2 deletions

View File

@ -741,7 +741,6 @@ void bar::handle(const evt::button_press& evt) {
const auto deferred_fn = [&](size_t) {
tags::action_t action = m_action_ctxt->has_action(m_buttonpress_btn, m_buttonpress_pos);
;
if (action != tags::NO_ACTION) {
m_log.trace("Found matching input area");

View File

@ -65,7 +65,6 @@ namespace tags {
}
action_t action_context::has_action(mousebtn btn, int x) const {
// TODO optimize
return get_actions(x)[btn];
}