summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch')
-rw-r--r--patch/bar_systray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/bar_systray.c b/patch/bar_systray.c
index dc267fb..5ca78f7 100644
--- a/patch/bar_systray.c
+++ b/patch/bar_systray.c
@@ -152,7 +152,7 @@ updatesystrayiconstate(Client *i, XPropertyEvent *ev)
long flags;
int code = 0;
- if (!showsystray || !i || ev->atom != xatom[XembedInfo] ||
+ if (!showsystray || !systray || !i || ev->atom != xatom[XembedInfo] ||
!(flags = getatomprop(i, xatom[XembedInfo])))
return;