diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-09 14:00:51 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-09 15:09:15 -0500 |
| commit | 543828c23f36315e27516a88b7bd0bc8998e741c (patch) | |
| tree | f62fc71a28c73b97754895a82a35b9b3edfb351b /openbox/client.c | |
| parent | 437739b6a3399765747b09b0777b1db9d0e6b483 (diff) | |
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).
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
