Upgrading winicon patch to v2.1 ref. #238
This commit is contained in:
4
dwm.c
4
dwm.c
@ -395,7 +395,8 @@ struct Client {
|
||||
XkbInfo *xkb;
|
||||
#endif // XKB_PATCH
|
||||
#if BAR_WINICON_PATCH
|
||||
XImage *icon;
|
||||
unsigned int icw, ich;
|
||||
Picture icon;
|
||||
#endif // BAR_WINICON_PATCH
|
||||
};
|
||||
|
||||
@ -2324,7 +2325,6 @@ manage(Window w, XWindowAttributes *wa)
|
||||
c->cfact = 1.0;
|
||||
#endif // CFACTS_PATCH
|
||||
#if BAR_WINICON_PATCH
|
||||
c->icon = NULL;
|
||||
updateicon(c);
|
||||
#endif // BAR_WINICON_PATCH
|
||||
updatetitle(c);
|
||||
|
Reference in New Issue
Block a user