From 371d55bbcdfe064e391b13b28eed800a57b4adf9 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Mon, 4 Sep 2017 18:00:24 +0200 Subject: 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 --- src/app.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app.hpp') 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 lookup_id(char const *name) { return this->id_alloc.lookup(std::string(name)); -- cgit 1.2.3-korg