X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fpointer.c;h=63a408e8b36c9c6c3f91af8528cfded674c2c365;hb=7c392448b0d2efcc6bb959063dcaa8b2c5ea0964;hp=671af84835cce79f6b4bed427ec111b4df3e25e3;hpb=471a5e5f9928e2d324b2e10422a420f458bd63ff;p=ion3.git diff --git a/ioncore/pointer.c b/ioncore/pointer.c index 671af84..63a408e 100644 --- a/ioncore/pointer.c +++ b/ioncore/pointer.c @@ -3,10 +3,7 @@ * * Copyright (c) Tuomo Valkonen 1999-2007. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #include "common.h" @@ -137,7 +134,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; }