aboutsummaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-10-04 10:39:37 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-01-29 10:35:07 +0900
commit231c489591095d294b93244e388abdf39debd983 (patch)
tree60271c25f6198a10c33d19d40cfc2d0c3019e2e4 /src/layers.hpp
parentb9eac3cd4c955a84f1b381f15dc6d3f53035a309 (diff)
Clean: Remove split_layout structure
split_layout is not used anymore. Change-Id: Iff24ebb4e827aee28394deb3aa55c96692cd0cc6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/layers.hpp')
-rw-r--r--src/layers.hpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/layers.hpp b/src/layers.hpp
index f52886e..3a16985 100644
--- a/src/layers.hpp
+++ b/src/layers.hpp
@@ -27,13 +27,6 @@
namespace wm
{
-struct split_layout
-{
- std::string name;
- std::string main_match;
- std::string sub_match;
-};
-
struct layer
{
using json = nlohmann::json;
@@ -43,23 +36,14 @@ struct layer
// The actual layer ID
int layer_id = -1;
// The rectangular region surfaces are allowed to draw on
- // this layer, note however, width and hieght of the rect
- // can be negative, in which case they specify that
- // the actual value is computed using MAX + 1 - w
- // That is; allow us to specify dimensions dependent on
- // e.g. screen dimension, w/o knowing the actual screen size.
+ // this layer.
compositor::rect rect;
// Specify a role prefix for surfaces that should be
// put on this layer.
std::string role;
- // TODO: perhaps a zorder is needed here?
- std::vector<struct split_layout> layouts;
mutable struct LayoutState state;
- // Flag of normal layout only
- bool is_normal_layout_only;
-
explicit layer(nlohmann::json const &j);
json to_json() const;