Commits

Anonymous committed ef2e418

update systray to not lose background color anymore

  • Participants
  • Parent commits 0f8bd8a

Comments (0)

Files changed (4)

6.0/1590_ec4baab78314_tag_6.0/dwm-6.0-systray.diff

 +		XSelectInput(dpy, systray->win, SubstructureNotifyMask);
 +		XChangeProperty(dpy, systray->win, netatom[NetSystemTrayOrientation], XA_CARDINAL, 32,
 +				PropModeReplace, (unsigned char *)&systrayorientation, 1);
-+		XChangeWindowAttributes(dpy, systray->win, CWEventMask | CWOverrideRedirect | CWBackPixel, &wa);
++		XChangeWindowAttributes(dpy, systray->win, CWEventMask|CWOverrideRedirect|CWBackPixel|CWBackPixmap, &wa);
 +		XMapRaised(dpy, systray->win);
 +		XSetSelectionOwner(dpy, netatom[NetSystemTray], systray->win, CurrentTime);
 +		if(XGetSelectionOwner(dpy, netatom[NetSystemTray]) == systray->win) {

6.0/1596_ad90e7fab364/dwm-6.0-systray.diff

 +		XSelectInput(dpy, systray->win, SubstructureNotifyMask);
 +		XChangeProperty(dpy, systray->win, netatom[NetSystemTrayOrientation], XA_CARDINAL, 32,
 +				PropModeReplace, (unsigned char *)&systrayorientation, 1);
-+		XChangeWindowAttributes(dpy, systray->win, CWEventMask | CWOverrideRedirect | CWBackPixel, &wa);
++		XChangeWindowAttributes(dpy, systray->win, CWEventMask|CWOverrideRedirect|CWBackPixel|CWBackPixmap, &wa);
 +		memset(&wa, 0, sizeof(XWindowAttributes));
 +		XMapRaised(dpy, systray->win);
 +		XSetSelectionOwner(dpy, netatom[NetSystemTray], systray->win, CurrentTime);

6.0/1599_10e232f9ace7/dwm-6.0-systray.diff

 +		XSelectInput(dpy, systray->win, SubstructureNotifyMask);
 +		XChangeProperty(dpy, systray->win, netatom[NetSystemTrayOrientation], XA_CARDINAL, 32,
 +				PropModeReplace, (unsigned char *)&systrayorientation, 1);
-+		XChangeWindowAttributes(dpy, systray->win, CWEventMask | CWOverrideRedirect | CWBackPixel, &wa);
++		XChangeWindowAttributes(dpy, systray->win, CWEventMask|CWOverrideRedirect|CWBackPixel|CWBackPixmap, &wa);
 +		XMapRaised(dpy, systray->win);
 +		XSetSelectionOwner(dpy, netatom[NetSystemTray], systray->win, CurrentTime);
 +		if(XGetSelectionOwner(dpy, netatom[NetSystemTray]) == systray->win) {

6.0/1605_c794a9f5ae5e/dwm-6.0-systray.diff

 +		XSelectInput(dpy, systray->win, SubstructureNotifyMask);
 +		XChangeProperty(dpy, systray->win, netatom[NetSystemTrayOrientation], XA_CARDINAL, 32,
 +				PropModeReplace, (unsigned char *)&systrayorientation, 1);
-+		XChangeWindowAttributes(dpy, systray->win, CWEventMask | CWOverrideRedirect | CWBackPixel, &wa);
++		XChangeWindowAttributes(dpy, systray->win, CWEventMask|CWOverrideRedirect|CWBackPixel|CWBackPixmap, &wa);
 +		XMapRaised(dpy, systray->win);
 +		XSetSelectionOwner(dpy, netatom[NetSystemTray], systray->win, CurrentTime);
 +		if(XGetSelectionOwner(dpy, netatom[NetSystemTray]) == systray->win) {