mirror of
https://github.com/NickHu/sway
synced 2025-01-04 23:01:31 +01:00
Merge pull request #1751 from emersion/remove-layout-last
Remove L_TYPES
This commit is contained in:
commit
9acd066be4
2 changed files with 1 additions and 4 deletions
|
@ -24,6 +24,7 @@ enum sway_container_type {
|
||||||
C_CONTAINER,
|
C_CONTAINER,
|
||||||
C_VIEW,
|
C_VIEW,
|
||||||
|
|
||||||
|
// Keep last
|
||||||
C_TYPES,
|
C_TYPES,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,9 +35,6 @@ enum sway_container_layout {
|
||||||
L_STACKED,
|
L_STACKED,
|
||||||
L_TABBED,
|
L_TABBED,
|
||||||
L_FLOATING,
|
L_FLOATING,
|
||||||
|
|
||||||
// Keep last
|
|
||||||
L_LAYOUTS,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum sway_container_border {
|
enum sway_container_border {
|
||||||
|
|
|
@ -24,7 +24,6 @@ static const char *ipc_json_layout_description(enum sway_container_layout l) {
|
||||||
case L_FLOATING:
|
case L_FLOATING:
|
||||||
return "floating";
|
return "floating";
|
||||||
case L_NONE:
|
case L_NONE:
|
||||||
case L_LAYOUTS:
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return "none";
|
return "none";
|
||||||
|
|
Loading…
Reference in a new issue