Fix a typo that broke transient window hints.
authorMikael Magnusson <mikachu@comhem.se>
Mon, 21 Jan 2008 10:47:51 +0000 (11:47 +0100)
committerDana Jansens <danakj@orodu.net>
Thu, 31 Jan 2008 17:25:31 +0000 (12:25 -0500)
openbox/client.c

index 0558c8d..d2378bf 100644 (file)
@@ -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);