all repos — openbox @ 543828c23f36315e27516a88b7bd0bc8998e741c

openbox fork - make it a bit more like ryudo

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).
Dana Jansens danakj@orodu.net
commit

543828c23f36315e27516a88b7bd0bc8998e741c

parent

437739b6a3399765747b09b0777b1db9d0e6b483

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2111,7 +2111,7 @@ if (!got)

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