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).
This commit is contained in:
parent
437739b6a3
commit
543828c23f
1 changed files with 1 additions and 1 deletions
|
@ -2111,7 +2111,7 @@ void client_update_strut(ObClient *self)
|
||||||
STRUT_PARTIAL_SET(strut, 0, 0, 0, 0,
|
STRUT_PARTIAL_SET(strut, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 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;
|
self->strut = strut;
|
||||||
|
|
||||||
/* updating here is pointless while we're being mapped cuz we're not in
|
/* updating here is pointless while we're being mapped cuz we're not in
|
||||||
|
|
Loading…
Reference in a new issue