- } while (XPending(loop->display));
- } else if ((act = g_queue_pop_head(loop->action_queue))) {
- /* only fire off one action at a time, then go back for more
- X events, since the action might cause some X events (like
- FocusIn :) */
- act->func(&act->data);
- action_unref(act);