my personal dwl config managed with pijul.

Fix crash when disabling focused mon

m->link.next leads to errors if the monitor to disable doesn't have a "next" (right) monitor and is currently focused. dirtmon() does more checks.

In some previous commits m->link.next is told to be left monitor, which is wrong

Also focusclient() explicitly checks for disabled monitors (this fixes in case of more than one disabled monitor)

Created by  Stivvo  on October 31, 2020
L2ERA3TQPLMFAEQVNC5RFDTO532JQPHLYVBCE3JZT2J6VSXG4IJQC
Change contents