Hi,
I'm a bit puzzled by code using what is almost a complete list of all
platforms running X11 to define some features:
#if defined DBG_UTIL || defined SUN || defined LINUX || defined FREEBSD || \
defined NETBSD || defined OPENBSD || defined DRAGONFLY
nProperties_ |= PROPERTY_FEATURE_Maximize;
#endif
Am I right in interpreting the above list as "everything but AIX" ? Non-X11
platforms such as MacOSX don't count in this case.
We also have some code dedicated to finding the origin of different X11
implementations and working around their bugs (grep for GetServerVendor).
Among it, there is a whole XFree86-related section which I suspect is no
longer relevant: the last XFree86 release is dated from 2008 and the project
itself appears to be dead.
There is no specific code for Xorg and given its history, it should have had
the same problems as XFree. Since no one has complained, I suspect the
problems it fixed are not even relevant today. They were bit order issues
on 8-bit displays.
If nobody gives me a reason not to in the next days, I plan to remove both
the useless #if defined list and the whole XFree section.
--
Francois Tigeot
Context
- [Libreoffice] Old X11 code cleanup in libs-gui · Francois Tigeot
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.