Added statusallmons patch, fixed minor cross-compatibility issues for killunsel, fullscreen, noborder, tagintostack patches
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
Layout *last_layout = &layouts[0];
|
||||
Layout *last_layout;
|
||||
|
||||
void
|
||||
fullscreen(const Arg *arg)
|
||||
{
|
||||
if (selmon->showbar) {
|
||||
if (selmon->showbar || last_layout == NULL) {
|
||||
for (last_layout = (Layout *)layouts; last_layout != selmon->lt[selmon->sellt]; last_layout++);
|
||||
setlayout(&((Arg) { .v = &layouts[MONOCLE_LAYOUT_POS] }));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user