added handling clickable global animations during request dialog
authorHolger Schemel <info@artsoft.org>
Thu, 25 Apr 2019 17:25:19 +0000 (19:25 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 25 Apr 2019 17:25:19 +0000 (19:25 +0200)
src/tools.c

index e33344d..d3bfb74 100644 (file)
@@ -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);