Porting the seamless restart feature from dusk into dwm-flexipatch

This commit is contained in:
bakkeby
2022-06-17 14:36:20 +02:00
parent 6f7d9b1bdf
commit 440c4a6efa
10 changed files with 662 additions and 74 deletions

View File

@ -13,7 +13,7 @@ checkfloatingrules(Client *c)
XGetClassHint(dpy, c->win, &ch);
class = ch.res_class ? ch.res_class : broken;
instance = ch.res_name ? ch.res_name : broken;
wintype = getatomprop(c, netatom[NetWMWindowType]);
wintype = getatomprop(c, netatom[NetWMWindowType], XA_ATOM);
#if WINDOWROLERULE_PATCH
gettextprop(c->win, wmatom[WMWindowRole], role, sizeof(role));
#endif // WINDOWROLERULE_PATCH