Update monitor positions also on removal
commitd93ff48803f04f1363bf303af1d7e6ccc5cb8d3f
authorSanttu Lakkala <inz@inz.fi>
Mon, 21 Feb 2022 14:58:28 +0000 (21 16:58 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 16 Apr 2022 14:59:03 +0000 (16 16:59 +0200)
treea9bf08152f3175a326e767629497d79f34f33be8
parent8806b6e2379372900e3d9e0bf6604bc7f727350b
Update monitor positions also on removal

When monitors are removed, the coordinates of existing monitors may
change, if the removed monitors had smaller coordinates than the
remaining ones.

Remove special case handling so that the same update-if-necessary loop
is run also in the case when monitors are removed.
dwm.c