diff options
| author | bakkeby <[email protected]> | 2020-09-07 12:43:37 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-07 12:43:37 +0200 |
| commit | 260bd11a53d35a63fc722bb64cd417cc942c1858 (patch) | |
| tree | 04d9dfa7bb94f36b936682058c627ac4c339516d /patch | |
| parent | 018721ca762e11ea697bd52e8898485817f1d8fa (diff) | |
| download | dwm-flexipatch-260bd11a53d35a63fc722bb64cd417cc942c1858.tar.gz dwm-flexipatch-260bd11a53d35a63fc722bb64cd417cc942c1858.zip | |
systray may not always exist
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/bar_systray.c | 2 |
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; |
