diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-05 23:26:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 23:26:40 -0400 |
commit | 9acd066be494277a7d0fe6f2660619c4225fef7f (patch) | |
tree | 423ceecd24af024e8d708a35a3f3a7baa5a04a42 | |
parent | 0f1068ed2571210817ec5d139a44cadc4fa67565 (diff) | |
parent | c2b1beef153828514707ff6e40269dc1ed7fb790 (diff) |
Merge pull request #1751 from emersion/remove-layout-last
Remove L_TYPES
-rw-r--r-- | include/sway/tree/container.h | 4 | ||||
-rw-r--r-- | sway/ipc-json.c | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 7acb607b..4c60530f 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -24,6 +24,7 @@ enum sway_container_type { C_CONTAINER, C_VIEW, + // Keep last C_TYPES, }; @@ -34,9 +35,6 @@ enum sway_container_layout { L_STACKED, L_TABBED, L_FLOATING, - - // Keep last - L_LAYOUTS, }; enum sway_container_border { diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 2c7c7325..f9c6c90b 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -24,7 +24,6 @@ static const char *ipc_json_layout_description(enum sway_container_layout l) { case L_FLOATING: return "floating"; case L_NONE: - case L_LAYOUTS: break; } return "none"; |