migrate-config: also make force_focus_wrapping a v4-only statement

This commit is contained in:
Michael Stapelberg
2011-07-08 00:17:48 +02:00
parent cf124e18f9
commit 0ca229ceb3
2 changed files with 4 additions and 1 deletions

View File

@ -65,6 +65,7 @@ static int detect_version(char *buf) {
/* check for some v4-only statements */
if (strncasecmp(line, "bindcode", strlen("bindcode")) == 0 ||
strncasecmp(line, "force_focus_wrapping", strlen("force_focus_wrapping")) == 0 ||
strncasecmp(line, "# i3 config file (v4)", strlen("# i3 config file (v4)")) == 0 ||
strncasecmp(line, "workspace_layout", strlen("workspace_layout")) == 0) {
printf("deciding for version 4 due to this line: %.*s\n", (int)(walk-line), line);