Merge pull request #2105 from Airblader/bug-2099
Reject empty swallow definitions
This commit is contained in:
@ -54,9 +54,6 @@ print $fh <<'EOT';
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.883854166666667,
|
||||
"swallows": [
|
||||
{}
|
||||
],
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
@ -65,9 +62,6 @@ print $fh <<'EOT';
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{}
|
||||
],
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
@ -119,7 +119,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
@ -165,7 +165,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
@ -213,7 +213,7 @@ print $fh <<'EOT';
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
// "class": "^URxvt$",
|
||||
"class": "^URxvt$"
|
||||
// "instance": "^urxvt$",
|
||||
// "title": "^vals\\@w00t\\:\\ \\~$"
|
||||
}
|
||||
|
Reference in New Issue
Block a user