diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-04 18:00:24 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-04 18:00:32 +0200 |
commit | 371d55bbcdfe064e391b13b28eed800a57b4adf9 (patch) | |
tree | e3f272bbb03f83172ec011afbb36683e22d022c7 /src/app.hpp | |
parent | 304210e597abbc99117b1db03b96edf89c4069f6 (diff) |
App: cleanup requestSurface API method.
* Use lookup_id().
* Do not call activate_surface() as the surface does not yet exist.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp index 370c65d..79498c2 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -113,6 +113,7 @@ struct App { layouts_type layouts; layer_map layers; + // ID allocation and proxy methods for lookup struct id_allocator id_alloc; optional<unsigned> lookup_id(char const *name) { return this->id_alloc.lookup(std::string(name)); |