X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fpointer.c;fp=ioncore%2Fpointer.c;h=f1dc9e763c8a4bd5b900568c4f42f6526b0b93f5;hb=de22e45179cb3bafa490294d31d47f361047a30a;hp=671af84835cce79f6b4bed427ec111b4df3e25e3;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/pointer.c b/ioncore/pointer.c index 671af84..f1dc9e7 100644 --- a/ioncore/pointer.c +++ b/ioncore/pointer.c @@ -137,7 +137,8 @@ static void call_button(WBinding *binding, XButtonEvent *ev) return; p_curr_event=(XEvent*)ev; - extl_call(binding->func, "oo", NULL, p_reg, p_subreg); + extl_call(binding->func, "ooo", NULL, p_reg, p_subreg, + (p_reg!=NULL ? p_reg->active_sub : NULL)); p_curr_event=NULL; }