systray may not always exist
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user