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:
b2a0df8
)
handle the case where a transient is a child of a dockapp
author
Dana Jansens
<danakj@orodu.net>
Wed, 3 Sep 2003 22:06:17 +0000
(22:06 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 3 Sep 2003 22:06:17 +0000
(22:06 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
c6f4306
..
75aecf4
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-812,7
+812,11
@@
void client_update_transient_for(ObClient *self)
target = g_hash_table_lookup(window_map, &t);
/* if this happens then we need to check for it*/
g_assert(target != self);
- g_assert(!target || WINDOW_IS_CLIENT(target));
+ if (target && !WINDOW_IS_CLIENT(target)) {
+ /* this can happen when a dialog is a child of
+ a dockapp, for example */
+ target = NULL;
+ }
if (!target && self->group) {
/* not transient to a client, see if it is transient for a