X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=75aecf41f630500d154f15e90b0655b06d48cd80;hb=cb3aaab102035e227c6d64c7b5c319ed3b13cef2;hp=c6f43063147864111b1332e220f4fffb819e37a3;hpb=e7b2e52b788d21f0bad9a3c9b9c69d3db481cb4c;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index c6f43063..75aecf41 100644 --- 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