projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b6c6d
)
dont deref the client before checking for null
author
Dana Jansens
<danakj@orodu.net>
Wed, 10 Sep 2003 17:10:11 +0000
(17:10 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 10 Sep 2003 17:10:11 +0000
(17:10 +0000)
openbox/action.c
patch
|
blob
|
history
diff --git
a/openbox/action.c
b/openbox/action.c
index efc7f1ef513b89dba2bac42d9fb692e2ef2e3556..98097d7a9bf60b370003ba7255e73296e3f6d7eb 100644
(file)
--- 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;