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

Remove L_TYPES
This commit is contained in:
Drew DeVault 2018-04-05 23:26:40 -04:00 committed by GitHub
commit 9acd066be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -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 {

View File

@ -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";