fix systray
This commit is contained in:
parent
70d08e1d68
commit
ed55201709
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ clientmessage(XEvent *e)
|
||||||
updatesystrayicongeom(c, wa.width, wa.height);
|
updatesystrayicongeom(c, wa.width, wa.height);
|
||||||
XAddToSaveSet(dpy, c->win);
|
XAddToSaveSet(dpy, c->win);
|
||||||
XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
|
XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
|
||||||
|
XClassHint ch = {"dwmsystray", "dwmsystray"};
|
||||||
XReparentWindow(dpy, c->win, systray->win, 0, 0);
|
XReparentWindow(dpy, c->win, systray->win, 0, 0);
|
||||||
/* use parents background color */
|
/* use parents background color */
|
||||||
swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
|
swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
|
||||||
|
|
Loading…
Reference in a new issue