summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-common/core/window-activity.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-common/core/window-activity.c b/src/fe-common/core/window-activity.c
index 64b0aad3..5197e1a0 100644
--- a/src/fe-common/core/window-activity.c
+++ b/src/fe-common/core/window-activity.c
@@ -94,8 +94,9 @@ static void sig_hilight_text(TEXT_DEST_REC *dest, const char *msg)
if (hide_target_activity(data_level, dest->target))
return;
- tagtarget = g_strdup_printf("%s/%s", dest->server_tag,
- dest->target);
+ tagtarget = dest->server_tag == NULL ? NULL :
+ g_strdup_printf("%s/%s", dest->server_tag,
+ dest->target);
if (hide_target_activity(data_level, tagtarget)) {
g_free(tagtarget);
return;