// Is the WM ICCCM supporting?
XGetWindowProperty(display, rootWnd,
- _NET_SUPPORTING_WM_CHECK, 0, UINT_MAX,
+ _NET_SUPPORTING_WM_CHECK, 0, LONG_MAX,
False, XA_WINDOW, &type, &format, &nwins,
&after, (unsigned char **)&wins);
if ( type != XA_WINDOW || nwins <= 0 || wins[0] == None )
// Query for supported features:
XGetWindowProperty(display, rootWnd,
- _NET_SUPPORTED, 0, UINT_MAX,
+ _NET_SUPPORTED, 0, LONG_MAX,
False, XA_ATOM, &type, &format, &natoms,
&after, (unsigned char **)&atoms);
if ( type != XA_ATOM || atoms == NULL )