+#include "debug.h"
#include "client.h"
#include "focus.h"
#include "moveresize.h"
act->func == action_desktop_up ||
act->func == action_desktop_down) {
if ((n = parse_find_node("wrap", node->xmlChildrenNode))) {
- g_message("WRAP %d", parse_bool(doc, n));
act->data.desktopdir.wrap = parse_bool(doc, n);
}
} else if (act->func == action_send_to_desktop_right ||
act->data.sendtodir.follow = parse_bool(doc, n);
}
}
+ g_free(actname);
}
return act;
}
if (!c) return;
- c->disabled_decorations = c->disabled_decorations ? 0 : ~0;
+ c->decorate = !c->decorate;
client_setup_decor_and_functions(c);
}
void action_restart(union ActionData *data)
{
- ob_restart_path = g_strdup(data->execute.path);
- ob_shutdown = ob_restart = TRUE;
+ ob_restart_other(data->execute.path);
}
void action_exit(union ActionData *data)
{
- ob_shutdown = TRUE;
+ ob_exit();
}
void action_showmenu(union ActionData *data)