X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fapp.cpp;fp=src%2Fapp.cpp;h=fcdda1f6290b1501fc3b2fe104455f055441270d;hb=6ad2b0aa0196b3883a8102c97bb9eaa8d77f8de8;hp=324825f4bee68d40ae3e9a7793ea01d85e2edcde;hpb=0a98360c38431ccea2679955dd0e43af129d0256;p=apps%2Fagl-service-windowmanager.git 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");