diff options
author | 2017-09-12 11:29:37 +0200 | |
---|---|---|
committer | 2017-09-12 11:29:37 +0200 | |
commit | 875547362223909f750d4ab2f536735e5b344fc8 (patch) | |
tree | de8536ae55d0207dd39ba63dc2e1cadb5fdda2e2 /src/app.hpp | |
parent | 78d6f15eadfdc6d2d4a166e0e559ebad0a34723e (diff) |
App: single-method layout setup
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.hpp b/src/app.hpp index 6e18855..c12654d 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -139,8 +139,6 @@ struct App { int dispatch_events(); int dispatch_pending_events(); - void surface_set_layout_full(uint32_t surface_id); - void surface_set_layout_split(uint32_t surface_id, uint32_t sub_surface_id); void set_pending_events(); result<int> api_request_surface(char const *drawing_name); @@ -164,6 +162,8 @@ private: int init_layers(); + void surface_set_layout(int surface_id, optional<int> sub_surface_id = nullopt); + // TMC WM Events to clients void emit_activated(char const *label); void emit_deactivated(char const *label); |