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:
d43a109
)
dont toggle when no client was passed to teh action
author
Dana Jansens
<danakj@orodu.net>
Sun, 6 Apr 2003 18:40:10 +0000
(18:40 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 6 Apr 2003 18:40:10 +0000
(18:40 +0000)
openbox/action.c
patch
|
blob
|
history
diff --git
a/openbox/action.c
b/openbox/action.c
index
1c54b6e
..
cc93420
100644
(file)
--- a/
openbox/action.c
+++ b/
openbox/action.c
@@
-621,7
+621,10
@@
void action_previous_desktop_row(union ActionData *data)
void action_toggle_decorations(union ActionData *data)
{
- Client *c = data->client.c;
+ Client *c = data->client.c;;
+
+ if (!c) return;
+
c->disabled_decorations = c->disabled_decorations ? 0 : ~0;
client_setup_decor_and_functions(c);
}