all repos — openbox @ d4f192394f94e0170e4b08577f7e1ebeff02a19c

openbox fork - make it a bit more like ryudo

dont deref the client before checking for null
Dana Jansens danakj@orodu.net
commit

d4f192394f94e0170e4b08577f7e1ebeff02a19c

parent

e1b6c6dd90b32b4fb571005a7d7bd642a053d6c9

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/action.copenbox/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;