diff options
| author | Stivvo <stivvo01@gmail.com> | |
|---|---|---|
| 2020-10-31 12:43:07 +0100 | ||
| committer | Stivvo <stivvo01@gmail.com> | |
| 2020-10-31 12:52:22 +0100 | ||
| commit | 25671d79051e9054f64de88e77e089a2daf7008f (patch) | |
| tree | ab409cd59aa97e7c8d82fbe5e88c217027ddfb84 /README.md | |
| parent | 60a63b637c094d4c55aaf3bafc00df0e46ca3d15 (diff) | |
| download | dwl-25671d79051e9054f64de88e77e089a2daf7008f.tar.gz dwl-25671d79051e9054f64de88e77e089a2daf7008f.tar.bz2 dwl-25671d79051e9054f64de88e77e089a2daf7008f.zip | |
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)