summaryrefslogtreecommitdiffhomepage
path: root/patch/sizehints_ruled.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2022-06-17 14:36:20 +0200
committerbakkeby <[email protected]>2022-06-17 14:36:20 +0200
commit440c4a6efa789f41213d78ea564087ffdb65bafd (patch)
treebe43cead3b46cf77d45e875a75b16ad26d9bf55e /patch/sizehints_ruled.c
parent6f7d9b1bdf2dd5a19a712ee739d8fe328d198c6d (diff)
downloaddwm-flexipatch-440c4a6efa789f41213d78ea564087ffdb65bafd.tar.gz
dwm-flexipatch-440c4a6efa789f41213d78ea564087ffdb65bafd.zip
Porting the seamless restart feature from dusk into dwm-flexipatch
Diffstat (limited to 'patch/sizehints_ruled.c')
-rw-r--r--patch/sizehints_ruled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/sizehints_ruled.c b/patch/sizehints_ruled.c
index ce2eeb9..6e97f9e 100644
--- a/patch/sizehints_ruled.c
+++ b/patch/sizehints_ruled.c
@@ -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