]> git.saurik.com Git - wxWidgets.git/commitdiff
replaced FIXME comment left in the last commit with an explanation
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Nov 2007 00:16:40 +0000 (00:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Nov 2007 00:16:40 +0000 (00:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/displayx11.cpp

index edfd86baca2f920e15f6e96981af8b93e74cac2d..99cb9e824c632cad8ebabc1debfeef3dee9c3fed 100644 (file)
@@ -375,8 +375,11 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height)
         {
             wxX11Ptr x11ptr(workareas); // ensure it will be freed
 
+            // check that we retrieved the property of the expected type and
+            // that we did get back 4 longs (32 is the format for long), as
+            // requested
             if ( actualType != XA_CARDINAL ||
-                    format != 32 || // FIXME: what is this 32?
+                    format != 32 ||
                         numItems != 4 )
             {
                 wxLogDebug(_T("XGetWindowProperty(\"_NET_WORKAREA\") failed"));