X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=d59c55143a6e85435ca455c3861cee56d9489150;hb=1afc4180d72d335d93cb9ad8ec9a0dc4d5ae003b;hp=6e06d374360764e5afb7a197c5e61bae137d45fc;hpb=eea43e64883fc0c988b916db99bc5b45ccffc432;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index 6e06d374..d59c5514 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1,3 +1,4 @@ +#include "debug.h" #include "client.h" #include "focus.h" #include "moveresize.h" @@ -576,7 +577,6 @@ Action *action_parse(xmlDocPtr doc, xmlNodePtr node) 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 || @@ -589,6 +589,7 @@ Action *action_parse(xmlDocPtr doc, xmlNodePtr node) act->data.sendtodir.follow = parse_bool(doc, n); } } + g_free(actname); } return act; } @@ -1105,7 +1106,7 @@ void action_toggle_decorations(union ActionData *data) if (!c) return; - c->disabled_decorations = c->disabled_decorations ? 0 : ~0; + c->decorate = !c->decorate; client_setup_decor_and_functions(c); }