aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_manager.cpp')
-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 7c9da24..5b7f5d8 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -261,7 +261,7 @@ result<int> WindowManager::api_request_surface(char const *appid, char const *dr
const char *role = this->convertRoleOldToNew(drawing_name);
string l_name;
string s_appid = appid;
- string s_role = drawing_name;
+ string s_role = role;
if(!g_app_list.contains(s_appid))
{