summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 1cc8595b..eae55bcc 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1403,7 +1403,7 @@ void client_update_class(ObClient *self)
}
if (PROP_GETS(self->window, wm_window_role, locale, &s))
- self->role = g_strdup(s);
+ self->role = s;
if (self->name == NULL) self->name = g_strdup("");
if (self->class == NULL) self->class = g_strdup("");