summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/mouse.c')
-rw-r--r--openbox/mouse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c
index 703ea36b..eb206a11 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -167,8 +167,7 @@ static gboolean fire_binding(ObMouseAction a, ObFrameContext context,
/* if not bound, then nothing to do! */
if (it == NULL) return FALSE;
- for (it = b->actions[a]; it; it = it->next)
- action_run_mouse(it->data, c, state, button, x, y);
+ action_run_mouse(b->actions[a], c, state, button, x, y);
return TRUE;
}