summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/window_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index 1e3a926..f9070f6 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -167,7 +167,7 @@ result<int> WindowManager::api_request_surface(char const *appid, char const *dr
if(!g_app_list.contains(str_id))
{
- unsigned lid = this->generateLayerForClient(role);
+ lid = this->generateLayerForClient(role);
if (lid == 0)
{
return Err<int>("Designated role does not match any role, fallback is disabled");