sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 9acd066be494277a7d0fe6f2660619c4225fef7f
parent 0f1068ed2571210817ec5d139a44cadc4fa67565
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  5 Apr 2018 23:26:40 -0400

Merge pull request #1751 from emersion/remove-layout-last

Remove L_TYPES
Diffstat:
Minclude/sway/tree/container.h | 4+---
Msway/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 @@ -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 @@ -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";