From b9f4874b77aa55fcc956e10b75a3616fb60d31d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 26 Jul 2021 18:37:55 +0200 Subject: Fix crash when hovering over taskless taskbar This bug was introduced in bc236b7fbc4a2603dacb682926df64e2a70c48f1. --- src/taskbar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); + } } } } -- cgit v1.2.3