X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=51de17daa3abb0d967d4dface847370ece400b1b;hb=b317f0140398308fce5fbd262ad99a290b54a449;hp=efc7f1ef513b89dba2bac42d9fb692e2ef2e3556;hpb=8fe0cb8989c1fe12b30b9030b446345f25340d35;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index efc7f1ef..51de17da 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1231,11 +1231,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;