X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmouse.c;h=414be04e47cdc3f256a7fa75023209d9549bb9d5;hb=6f5292c87ece138a2b80d102ba0919b105b1839a;hp=c0fcade49556e090e62b0a9de9db1403376422dc;hpb=ba05275408d8bab8f887f1c9d7e20a071e13c35a;p=chaz%2Fopenbox diff --git a/openbox/mouse.c b/openbox/mouse.c index c0fcade4..414be04e 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -142,7 +142,7 @@ void mouse_unbind_all() GSList *it; for (it = b->actions[j]; it; it = it->next) - action_free(it->data); + action_unref(it->data); g_slist_free(b->actions[j]); } g_free(b); @@ -167,7 +167,7 @@ static gboolean fire_binding(ObMouseAction a, ObFrameContext context, /* if not bound, then nothing to do! */ if (it == NULL) return FALSE; - action_run_mouse(b->actions[a], c, state, button, x, y); + action_run_mouse(b->actions[a], c, context, state, button, x, y); return TRUE; }