aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 324825f..fcdda1f 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -598,7 +598,7 @@ void App::surface_created(uint32_t surface_id) {
if (!layer_id) {
HMI_DEBUG("wm", "Newly created surface %d is not associated with any layer! Must be a XDG apps",
surface_id);
- auto layer_id = this->layers.get_layer_id(XDG_DRAWING_NAME);
+ layer_id = this->layers.get_layer_id(XDG_DRAWING_NAME);
if(!layer_id)
{
HMI_DEBUG("wm", "No role found for that XDG App");