summaryrefslogtreecommitdiffhomepage
path: root/patch/sizehints_ruled.c
diff options
context:
space:
mode:
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