all repos — fluxbox @ 4f8aa2519e08b67b81125f589187902884274216

custom fork of the fluxbox windowmanager

fix updating struts when not using xinerama
Mark Tiefenbruck mark@fluxbox.org
commit

4f8aa2519e08b67b81125f589187902884274216

parent

61b04e336632ff1cf0bf38ef6b35ebf29288060c

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

jump to
M src/Screen.ccsrc/Screen.cc

@@ -1432,7 +1432,7 @@ if (str->next())

clearStrut(str->next()); int head = str->head() ? str->head() - 1 : 0; /* The number of heads may have changed, be careful. */ - if (head < numHeads()) + if (head < (numHeads() ? numHeads() : 1)) m_head_areas[head]->clearStrut(str); // str is invalid now }