X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=d3bfb74dd9385fde17716522aaf9555247ce42be;hp=e33344dd6b23cd1a64bd06a2f84d4d8924836fc0;hb=82bcb06cd720a1c893858af861cbddfaa607073a;hpb=d89a9ba5381e625d4e993d9ee5a69b9010b43180 diff --git a/src/tools.c b/src/tools.c index e33344dd..d3bfb74d 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4333,6 +4333,12 @@ static int RequestHandleEvents(unsigned int req_state) button_status = MB_RELEASED; } + if (HandleGlobalAnimClicks(mx, my, button_status, FALSE)) + { + // do not handle this button event anymore + continue; // force mouse event not to be handled at all + } + // this sets 'request_gadget_id' HandleGadgets(mx, my, button_status);