From c2b1beef153828514707ff6e40269dc1ed7fb790 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 5 Apr 2018 23:22:08 -0400 Subject: [PATCH] Remove L_TYPES --- include/sway/tree/container.h | 4 +--- sway/ipc-json.c | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 7acb607b6..4c60530fa 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 2c7c73254..f9c6c90bc 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";