CREATE_(OB_APP_TITLE);
CREATE_(OB_APP_NAME);
CREATE_(OB_APP_CLASS);
+ CREATE_(OB_APP_GROUP_NAME);
+ CREATE_(OB_APP_GROUP_CLASS);
CREATE_(OB_APP_TYPE);
+ CREATE_(OB_TARGET_WINDOW);
}
Atom obt_prop_atom(ObtPropAtom a)
OBT_PROP_OB_APP_TITLE,
OBT_PROP_OB_APP_NAME,
OBT_PROP_OB_APP_CLASS,
+ OBT_PROP_OB_APP_GROUP_NAME,
+ OBT_PROP_OB_APP_GROUP_CLASS,
OBT_PROP_OB_APP_TYPE,
+ OBT_PROP_OB_TARGET_WINDOW,
OBT_PROP_NUM_ATOMS
} ObtPropAtom;
struct _ObClient *client)
{
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)
/* fire the action's run function with this data */
if (ok) {
if (!act->def->run(&data, act->options)) {
-- if (actions_act_is_interactive(act))
++ if (actions_act_is_interactive(act)) {
actions_interactive_end_act();
- else if (stop_running) {
++ } else if (stop_running) {
+ stop_running = FALSE;
+ break;
+ }
+ if (client && client == focus_client &&
+ act->def->modifies_focused_window)
+ {
+ update_user_time = TRUE;
+ }
} else {
/* make sure its interactive if it returned TRUE */
g_assert(act->i_input);