From: Holger Schemel Date: Thu, 25 Apr 2019 17:25:19 +0000 (+0200) Subject: added handling clickable global animations during request dialog X-Git-Tag: 4.1.3.0~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=82bcb06cd720a1c893858af861cbddfaa607073a;p=rocksndiamonds.git added handling clickable global animations during request dialog --- 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);