]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
Fix a typo that broke transient window hints.
[chaz/openbox] / 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.021872 seconds and 4 git commands to generate.