Since focusmon() now never focuses disabled monitors, there's no need to focus the disabled monitor first
ECWSMUGSFAFGG3BNRFXTRJRC3NLZF67M5RSSW6AXAZP42O3F4VPQC
L2ERA3TQPLMFAEQVNC5RFDTO532JQPHLYVBCE3JZT2J6VSXG4IJQC
NLOBELMSKHUSKSMPZ2QSDVIOJRGWV7HNXNIKZ55TMUCH7DI73TAAC
Z5S64ZSKKSAUU62WBIQFYQP6B6M2STGV7PSJKEL2FGC4VRLWFLDAC
7B74AT3BXYB7PVW4F6SGQNPMHOU5TEV5TZ54CG6VSQI46XSEKWXQC
Monitor *m, *newmon;
Monitor *m;
wlr_output_enable(wlr_output, config_head->state.enabled);
// make sure that the monitor to clean is focused selmon = m; focusclient(selclient(), focustop(selmon), 1);
// make sure that the monitor to clean is focused
selmon = m;
focusclient(selclient(), focustop(selmon), 1);
closemon(m, wl_container_of(&selmon->link, newmon, link));
closemon(m, selmon);