]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
add partial struts tho they arent useful eyt
[chaz/openbox] / openbox / action.c
index 6e06d374360764e5afb7a197c5e61bae137d45fc..d59c55143a6e85435ca455c3861cee56d9489150 100644 (file)
@@ -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);
 }
 
This page took 0.023072 seconds and 4 git commands to generate.