#include "anim.h"
#include "main.h"
#include "tools.h"
+#include "events.h"
+#include "screens.h"
/* values for global toon animation definition */
return FALSE;
boolean action_executed = (DoGadgetAction(anim_event_action) ||
- DoScreenAction(anim_event_action));
+ DoScreenAction(anim_event_action) ||
+ DoKeysymAction(anim_event_action));
// check if further actions are allowed to be executed
if (part->control_info.style & STYLE_MULTIPLE_ACTIONS)
if (!any_event_action && DoGlobalAnim_EventAction(part))
any_event_action = TRUE;
- any_part_clicked = TRUE;
+ // determine if mouse clicks should be blocked from other animations
+ any_part_clicked = clickConsumed(part);
if (isClickablePart(part, ANIM_EVENT_SELF))
{