README 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. Conditional Compilation
  2. -----------------------
  3. The following is a listing of the conditional compilation switches that
  4. are "not obvious." Excluded are hardware or OS identifiers (e.g. __ultrix),
  5. header file include flags, and macros (e.g. ABS).
  6. ALTERNATE_POSTMENU
  7. This turns on menu posting by a simple call to XtManageChild.
  8. Normally, some underbar routines are called.
  9. DT_LEFT_JUSTIFY_TITLE
  10. This causes the text in the window titles to be left justified
  11. instead of centered. NOTE that WSM must also be turned on for
  12. this to take effect.
  13. CONCAT_TEXTLIST
  14. If turned on, then all members of compound text window
  15. properties (WM_NAME, WM_ICON_NAME) are converted to XmStrings
  16. and concatenated together. Normally, only the first member
  17. is taken.
  18. CONFIG_RELATIVE_TO_CLIENT
  19. If defined, then programmatic window configurations are
  20. absolute. Normally, the window frame offset is taken into
  21. account if it would have been during a user-driven config.
  22. DEBUG
  23. Turns on code that prints out error messages (specifically
  24. protocol errors).
  25. DEBUGGER
  26. Turns on code to help debugging Help-on-item.
  27. DEBUG_ICON_BOX
  28. Turns on code that alters iconbox spacing to help debug iconbox.
  29. (?)
  30. DEBUG_RESOURCE_DATABASE
  31. Turns on code that dumps out dtwm's local resource database
  32. to aid in debugging resource problems.
  33. DEBUG_SESSION_HINTS
  34. If defined, the session hints property is left on the root
  35. window after being read. Normally, it is deleted.
  36. DISALLOW_DEEP_ICONS
  37. Turns off code that allows icon pixmaps of depth greater than
  38. one.
  39. DONT_FILTER_ICON_WINDOWS
  40. This disables code that tries to prevent an icon window from being
  41. managed as a normal toplevel window.
  42. FUTURE
  43. This appears to enable code that will allow item help to work
  44. over window icons. I suspect that this is not completely
  45. implemented.
  46. ICCC_COMPLIANT
  47. This enables stricter ICCCM compliance. Specifically, some
  48. clients didn't get WM_PROTOCOLS quite right.
  49. INTEGRATION_TESTING_
  50. Swaps assignment of black and white on wait state cursor as
  51. a quick indicator of which client is showing the wait state.
  52. LARGECURSORS
  53. Allows cursors larger than 16x16.
  54. MCCABE
  55. Conditional compile for McCabe complexity metrics.
  56. MESSAGE_CAT
  57. Enables message catalog code for local language support.
  58. MOTIF_DEFAULT_ICON
  59. Enables the default window icon with four buttons.
  60. NO
  61. Vestigal/experimental code for position help dialog (WmHelp.c).
  62. NO_OL_COMPAT
  63. If defined, then code to read and interpret Open Look window
  64. manager hints is removed.
  65. NO_SETPGRP
  66. If defined, then child processes started by f.exec are not
  67. put into their own process group.
  68. NO_SHAPE
  69. If defined, then the shape extension is not supported.
  70. NO_WMQUERY
  71. If defined, the code to provide the WM_QUERY functionality is
  72. removed.
  73. NO_DT
  74. If defined, then code that references the Dt library is removed.
  75. OLD
  76. Vestigal code in WmHelp.c
  77. OLD_CODE
  78. Vestigal code.
  79. OLD_COLORMAP
  80. Vestigal code.
  81. OLD_TAKE_FOCUS
  82. Vestigal code.
  83. PANACOMM
  84. HP Panacom division modification to support clients running
  85. in their X terminals.
  86. PARANOID
  87. If enabled, the a server grab is done around a property read.
  88. (This is probably not necessary.)
  89. PORT_NOVFORK
  90. Enable for systems that don't have the vfork() call.
  91. PORT_OLDXLIB
  92. Enables code that works around an old bug in XGetClassHint().
  93. R2_COMPAT
  94. Enables support for old clients that still pass window geometry
  95. hint information in WM_NORMAL_HINTS.
  96. ROOT_ICON_MENU
  97. Experimental code to provide MS Windows-like traversal of focus
  98. between root icons with menus posted.
  99. SGI_FOCUS_PATCH
  100. Fixes a specific window focus problem.
  101. UNMAP_ON_RESTART
  102. All windows are unmapped on restart.
  103. _BMS
  104. Formerly used to denote code that interfaced to the HP Broadcast
  105. message server. This code has been switched over to ICCC
  106. messaging. The ifdef's should be removed, the code should stay.
  107. _CMDINV
  108. The #ifdef is somewhat vestigal--it's not even put in
  109. correctly. This brackets code that is partly used to send the
  110. ready message. It should be removed, the code should stay.
  111. _NO_PROTO
  112. If turned on, then pre-ANSI function prototypes are used.
  113. _NO_WM
  114. Enables testing code in WmPanel.c that allows it to be compiled
  115. with a test program outside of the window manager.
  116. notdef
  117. Enables more complete resource comparison in WmResource.c which
  118. could make resource utilization more optimal. This is currently
  119. turned off to avoid some problems with the pixmap resources.