Revert "config: support <mouse><default />"

This reverts commit 3d337857b7.

Revert for now until we have some infrastructure in place to
selectively replace default {key,mouse}binds with custom ones.

Fixes #304
Reported-by: @01micko
This commit is contained in:
Consolatis 2022-04-26 19:38:14 +02:00
parent bb2a98645b
commit 519375a7f8
3 changed files with 1 additions and 13 deletions

View file

@ -619,7 +619,7 @@ handle_press_mousebinding(struct view *view, struct server *server,
bool activated_any = false;
bool activated_any_frame = false;
wl_list_for_each(mousebind, &rc.mousebinds, link) {
wl_list_for_each_reverse(mousebind, &rc.mousebinds, link) {
if (ssd_part_contains(mousebind->context, view_area)
&& mousebind->button == button
&& modifiers == mousebind->modifiers) {
@ -655,7 +655,6 @@ handle_press_mousebinding(struct view *view, struct server *server,
activated_any = true;
activated_any_frame |= mousebind->context == LAB_SSD_FRAME;
actions_run(view, server, &mousebind->actions, resize_edges);
break;
}
}
return activated_any && activated_any_frame;