mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
src/config/mousebind.c: Fix mousebind ordering
This commit is contained in:
parent
7b995788ee
commit
99237cc232
2 changed files with 3 additions and 3 deletions
|
|
@ -547,7 +547,7 @@ handle_release_mousebinding(struct view *view, struct server *server,
|
|||
bool activated_any = false;
|
||||
bool activated_any_frame = false;
|
||||
|
||||
wl_list_for_each_reverse(mousebind, &rc.mousebinds, link) {
|
||||
wl_list_for_each(mousebind, &rc.mousebinds, link) {
|
||||
if (ssd_part_contains(mousebind->context, view_area)
|
||||
&& mousebind->button == button
|
||||
&& modifiers == mousebind->modifiers) {
|
||||
|
|
@ -629,7 +629,7 @@ handle_press_mousebinding(struct view *view, struct server *server,
|
|||
bool activated_any = false;
|
||||
bool activated_any_frame = false;
|
||||
|
||||
wl_list_for_each_reverse(mousebind, &rc.mousebinds, link) {
|
||||
wl_list_for_each(mousebind, &rc.mousebinds, link) {
|
||||
if (ssd_part_contains(mousebind->context, view_area)
|
||||
&& mousebind->button == button
|
||||
&& modifiers == mousebind->modifiers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue