From: Dana Jansens Date: Wed, 9 Dec 2009 19:00:51 +0000 (-0500) Subject: Properly react when a client's strut changes. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=543828c23f36315e27516a88b7bd0bc8998e741c;p=chaz%2Fopenbox Properly react when a client's strut changes. Previously it would only react if the height of the strut changed, not if its start/end changed (that was a long-standing bug). --- diff --git a/openbox/client.c b/openbox/client.c index b3f95364..030e893a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2111,7 +2111,7 @@ void client_update_strut(ObClient *self) STRUT_PARTIAL_SET(strut, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - if (!STRUT_EQUAL(strut, self->strut)) { + if (!PARTIAL_STRUT_EQUAL(strut, self->strut)) { self->strut = strut; /* updating here is pointless while we're being mapped cuz we're not in