summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 07cb5938..183da24e 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1765,7 +1765,7 @@ void client_update_wmhints(ObClient *self)
*/
if (self->transient &&
((self->transient_for == NULL && oldgroup == NULL) ||
- self->transient_for == OB_TRAN_GROUP && self->group == NULL))
+ (self->transient_for == OB_TRAN_GROUP && !self->group)))
client_update_transient_for(self);
}