mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-11 04:28:19 -05:00
allow side mouse buttons for mouse binding without mod
This commit is contained in:
parent
49921eadfa
commit
27b7dcf23a
1 changed files with 1 additions and 1 deletions
|
|
@ -1950,7 +1950,7 @@ buttonpress(struct wl_listener *listener, void *data) {
|
|||
m = &config.mouse_bindings[ji];
|
||||
if (CLEANMASK(mods) == CLEANMASK(m->mod) &&
|
||||
event->button == m->button && m->func &&
|
||||
(selmon->isoverview == 1 || m->button == BTN_MIDDLE) && c) {
|
||||
(selmon->isoverview == 1 || m->button == BTN_MIDDLE || m->button == BTN_SIDE || m->button == BTN_EXTRA) && c) {
|
||||
m->func(&m->arg);
|
||||
return;
|
||||
} else if (CLEANMASK(mods) == CLEANMASK(m->mod) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue