From: Dana Jansens Date: Wed, 9 May 2007 18:00:37 +0000 (+0000) Subject: debug print X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f54bd60a004a17583cc3e1783a29c4518686dceb;p=chaz%2Fopenbox debug print --- diff --git a/openbox/propwin.c b/openbox/propwin.c index 0bf74b2a..8ef1f657 100644 --- a/openbox/propwin.c +++ b/openbox/propwin.c @@ -76,6 +76,10 @@ void propwin_add(Window win, ObPropWinType type, struct _ObClient *client) } else g_assert(g_slist_find(p->data[type].clients, client) == NULL); + if (p->data[type].clients != NULL) + ob_debug("Client %s is using a property window 0x%x that is already " + "in use\n", client->title, win); + /* add it to the clients list */ p->data[type].clients = g_slist_prepend(p->data[type].clients, client); }