static ObActionsAct *interactive_act = NULL;
static guint interactive_initial_state = 0;
-static gboolean stop_running = FALSE;
struct _ObActionsDefinition {
guint ref;
data->client = client;
}
-void actions_stop_running()
-{
- stop_running = TRUE;
-}
-
void actions_run_acts(GSList *acts,
ObUserAction uact,
guint state,
GSList *it;
gboolean update_user_time;
- stop_running = FALSE;
-
/* Don't allow saving the initial state when running things from the
menu */
if (uact == OB_USER_ACTION_MENU_SELECTION)
if (!act->def->run(&data, act->options)) {
if (actions_act_is_interactive(act)) {
actions_interactive_end_act();
- } else if (stop_running) {
- stop_running = FALSE;
- break;
}
if (client && client == focus_client &&
act->def->modifies_focused_window)