Merge pull request #2105 from Airblader/bug-2099

Reject empty swallow definitions
This commit is contained in:
Michael Stapelberg
2015-12-14 20:48:49 +01:00
3 changed files with 23 additions and 11 deletions

View File

@ -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": [
{

View File

@ -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\\:\\ \\~$"
}