]> Dogcows Code - chaz/openbox/commitdiff
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 0558c8d44d147120819356718fe456189e66bbd7..d2378bf7150fddb3f82c474b2f326255a2d7af00 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);
This page took 0.030123 seconds and 4 git commands to generate.