summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2008-01-21 11:47:51 +0100
committerDana Jansens <danakj@orodu.net>2008-01-31 12:25:31 -0500
commita0acc01f2ca1f4cff337f359d64136b754678b93 (patch)
treeb1e9995c39df119284ba389e8b0128c5a88995e3 /openbox/client.c
parentd57fd943947b59ef39f783fd634a5f8d8078609a (diff)
Fix a typo that broke transient window hints.
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
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);