X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a2db5f1df5f0ac0a034366195c11047a416bf6a..99c2d4f20c4cba62dcd195afb9c85bc52ef577de:/src/unix/utilsx11.cpp diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index 7f46dcdbbf..8f3eb5dc7d 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -276,11 +276,7 @@ static bool wxQueryWMspecSupport(Display *display, Window rootWnd, Atom feature) // Is the WM ICCCM supporting? XGetWindowProperty(display, rootWnd, -#ifdef __VMS _NET_SUPPORTING_WM_CHECK, 0, LONG_MAX, -#else - _NET_SUPPORTING_WM_CHECK, 0, UINT_MAX, -#endif False, XA_WINDOW, &type, &format, &nwins, &after, (unsigned char **)&wins); if ( type != XA_WINDOW || nwins <= 0 || wins[0] == None ) @@ -289,11 +285,7 @@ static bool wxQueryWMspecSupport(Display *display, Window rootWnd, Atom feature) // Query for supported features: XGetWindowProperty(display, rootWnd, -#ifdef __VMS - _NET_SUPPORTED, 0, LONG_MAX, -#else - _NET_SUPPORTED, 0, UINT_MAX, -#endif + _NET_SUPPORTED, 0, LONG_MAX, False, XA_ATOM, &type, &format, &natoms, &after, (unsigned char **)&atoms); if ( type != XA_ATOM || atoms == NULL )