diff options
| author | bakkeby <[email protected]> | 2020-11-28 10:58:00 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-11-28 10:58:08 +0100 |
| commit | acbf2de1c23085e0a8736498e5c7600f77f7a5f0 (patch) | |
| tree | b7c184bc99c06140d3fa799c0cb5b9f4075ea4a1 /patch | |
| parent | 93e2544040c37910e62fefb92ef536cd8622088a (diff) | |
| download | dwm-flexipatch-acbf2de1c23085e0a8736498e5c7600f77f7a5f0.tar.gz dwm-flexipatch-acbf2de1c23085e0a8736498e5c7600f77f7a5f0.zip | |
systray: hotplugging issues, keep systray window on top of bar window ref. #84
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/bar_systray.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/patch/bar_systray.c b/patch/bar_systray.c index 4ff7fd9..b20b45e 100644 --- a/patch/bar_systray.c +++ b/patch/bar_systray.c @@ -20,6 +20,7 @@ draw_systray(Bar *bar, BarArg *a) return 0; XSetWindowAttributes wa; + XWindowChanges wc; Client *i; unsigned int w; @@ -68,6 +69,10 @@ draw_systray(Bar *bar, BarArg *a) systray->bar = bar; + wc.stack_mode = Above; + wc.sibling = bar->win; + XConfigureWindow(dpy, systray->win, CWSibling|CWStackMode, &wc); + drw_setscheme(drw, scheme[SchemeNorm]); for (w = 0, i = systray->icons; i; i = i->next) { #if BAR_ALPHA_PATCH |
