When a monitor is created or removed, the geometries of the old ones must be updated. This is also more efficient than before since we calculate the monitor geometries only when creating and destroying monitors. arrangelayers() is needed to recalculate m->w. arrange() is so clients don't move to the left monitor when plugging or unplugging monitors (clients keep the same coordinates but the field below them changes).
3C2GQZEGV3UP22LMLNH4RBI5MXXTV447DBIOVMBPE7T6QZKINYXQC
WIMA7IJMTX2ODD3TE2BTTJJ3A34DHBRAEDW6UBW3X6EYNP3FRTDAC
VXHCHCJWWVGQMXCMQNI3K4C7WV5YCNKOTHNNBCULMT52LT3C5KBQC
RUALICLT3PUWT4WAAYNVCGXE4YQMQRBZO3GAECADEBNPFWQF3KAAC
DADSQJFKYX6U5JOHSHJWWDSUFC7ZWSZVHFMEKPZEXKPELMEQBL2QC
7B74AT3BXYB7PVW4F6SGQNPMHOU5TEV5TZ54CG6VSQI46XSEKWXQC
VCNLR5X75OAXVKPZQHF5RUZ7BONBUC6RPGO2NZEUD3FZ7TEVL66AC
7HUMD4TAMWWBQDOZYCMWQXR66G3IU5WU3IVKTPCSMETSB6VREWTAC
PLJJLNS7E2UXW2YARGBSV6IHZEBGL5EW354IMMHPDATY5DQD77DAC