]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
always use smart placement, add under-mouse placement for the fallback
[chaz/openbox] / openbox / action.c
index efc7f1ef513b89dba2bac42d9fb692e2ef2e3556..0a969a86607f69fe3356e7ae98f87bf7ed60975e 100644 (file)
@@ -800,6 +800,7 @@ void action_execute(union ActionData *data)
                 g_warning("failed to execute '%s': %s",
                           cmd, e->message);
             }
+            g_free(cmd);
         } else {
             g_warning("failed to convert '%s' from utf8", data->execute.path);
         }
@@ -1231,11 +1232,12 @@ void action_growtoedge(union ActionData *data)
 {
     int x, y, width, height, dest;
     ObClient *c = data->diraction.any.c;
-    Rect *a = screen_area(c->desktop);
+    Rect *a;
 
     if (!c)
         return;
     
+    a = screen_area(c->desktop);
     x = c->frame->area.x;
     y = c->frame->area.y;
     width = c->frame->area.width;
This page took 0.021385 seconds and 4 git commands to generate.