]> git.sur5r.net Git - i3/i3/commitdiff
Rename new_container to workspace_layout
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 2 Apr 2011 19:49:35 +0000 (21:49 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 2 Apr 2011 19:49:35 +0000 (21:49 +0200)
src/cfgparse.l
src/cfgparse.y

index 7295fed9aa33d39408a47587dc844b8f97a855ee..a2d62e54a2af168db3de1c03040d5c4234c653dc 100644 (file)
@@ -96,7 +96,7 @@ default_orientation             { return TOK_ORIENTATION; }
 horizontal                      { return TOK_HORIZ; }
 vertical                        { return TOK_VERT; }
 auto                            { return TOK_AUTO; }
-new_container                   { return TOKNEWCONTAINER; }
+workspace_layout                { return TOK_WORKSPACE_LAYOUT; }
 new_window                      { return TOKNEWWINDOW; }
 normal                          { return TOK_NORMAL; }
 none                            { return TOK_NONE; }
index 75e68122aa223993b7aff4a5a24aa036fb3f6ca8..721c56986812729f6e4b0928bebfd414cc8ec0c0 100644 (file)
@@ -228,7 +228,7 @@ void parse_file(const char *f) {
 %token TOK_HORIZ "horizontal"
 %token TOK_VERT "vertical"
 %token TOK_AUTO "auto"
-%token TOKNEWCONTAINER "new_container"
+%token TOK_WORKSPACE_LAYOUT "workspace_layout"
 %token TOKNEWWINDOW "new_window"
 %token TOK_NORMAL "normal"
 %token TOK_NONE "none"
@@ -256,7 +256,7 @@ line:
         | mode
         | floating_modifier
         | orientation
-        | new_container
+        | workspace_layout
         | new_window
         | focus_follows_mouse
         | workspace_bar
@@ -394,8 +394,8 @@ direction:
         | TOK_AUTO      { $<number>$ = NO_ORIENTATION; }
         ;
 
-new_container:
-        TOKNEWCONTAINER WHITESPACE layout_mode
+workspace_layout:
+        TOK_WORKSPACE_LAYOUT WHITESPACE layout_mode
         {
                 DLOG("new containers will be in mode %d\n", $<number>3);
                 config.default_layout = $<number>3;
@@ -419,7 +419,7 @@ new_container:
                 }
 #endif
         }
-        | TOKNEWCONTAINER WHITESPACE TOKSTACKLIMIT WHITESPACE TOKSTACKLIMIT WHITESPACE NUMBER
+        | TOK_WORKSPACE_LAYOUT WHITESPACE TOKSTACKLIMIT WHITESPACE TOKSTACKLIMIT WHITESPACE NUMBER
         {
                 DLOG("stack-limit %d with val %d\n", $<number>5, $<number>7);
                 config.container_stack_limit = $<number>5;