Bug failing to close the last window using the centered floating master layout, ref. #20

This commit is contained in:
bakkeby
2020-03-23 16:18:18 +01:00
parent ceed6813d3
commit 52db51175b
2 changed files with 7 additions and 4 deletions

View File

@ -78,8 +78,10 @@ centeredfloatingmaster(Monitor *m)
#else
mx += WIDTH(c);
#endif
detachstack(c);
attachstack(c);
if (n > 1) {
detachstack(c);
attachstack(c);
}
} else {
/* stack clients are stacked horizontally */
#if CFACTS_PATCH