From a0acc01f2ca1f4cff337f359d64136b754678b93 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 21 Jan 2008 11:47:51 +0100 Subject: [PATCH] Fix a typo that broke transient window hints. --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 0558c8d4..d2378bf7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1288,7 +1288,7 @@ void client_update_transient_for(ObClient *self) ObWindow *tw = window_find(t); /* if this happens then we need to check for it*/ g_assert(tw != CLIENT_AS_WINDOW(self)); - if (target && WINDOW_IS_CLIENT(tw)) { + if (tw && WINDOW_IS_CLIENT(tw)) { /* watch out for windows with a parent that is something different, like a dockapp for example */ target = WINDOW_AS_CLIENT(tw); -- 2.39.2