aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/taskbar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/taskbar.c b/src/taskbar.c
index c75911e..088b420 100644
--- a/src/taskbar.c
+++ b/src/taskbar.c
@@ -496,7 +496,9 @@ SignalTaskbar(const TimeType *now, int x, int y)
ShowPopup(x, y, np->client->name);
}
} else {
- FocusClient(np->client);
+ if(np) {
+ FocusClient(np->client);
+ }
}
}
}