cdesktopenv/cde/programs/dtwm
Jon Trulson 619402b739 dtwm: fixes to make it build
Removed PORT_NOFORK define in favor of autotools vfork availablility
checking. Use vfork if present.

Got rid of getenv/putenv definitions in favor of including correct
system headers.

Use FD_CLOEXEC in fcntl() call rather than hardcoded '1'.

Added -lm check to configure so dtwm will build.

Renamed internal round() function to wmround() to fix warning about
redefinition of builtin.

Fixed missing backslash in Makefile.am that prevented half the sources
from building.
2019-10-30 12:17:32 -06:00
..
examples dtwm: remove register keyword 2018-06-27 22:20:34 -06:00
Button.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Button.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
ButtonP.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Callback.c dtwm: Coverity 88247 2018-07-02 20:35:57 +01:00
Clock.c dtwm: fixes to make it build 2019-10-30 12:17:32 -06:00
Clock.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
ClockP.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
DataBaseLoad.c dtwm: Coverity 89619 2018-07-02 20:38:46 +01:00
DataBaseLoad.h remove ultrix support 2018-09-30 17:27:04 -06:00
DtSvcInternal.h Add missing license headers on *.hh files and others 2018-05-12 15:49:13 -06:00
Dtwm.defs.src Remove apollo support 2018-06-24 16:22:37 -06:00
FAQ.wm dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
FileSetNums
Imakefile Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
Makefile.am dtwm: fixes to make it build 2019-10-30 12:17:32 -06:00
Makefile.tmpl
PanelS.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
PanelS.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
PanelSP.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Parse.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Parse.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
PopupMenu.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
PopupMenu.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Print.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
README dtwm: fixes to make it build 2019-10-30 12:17:32 -06:00
Session.c dtwm: Coverity 89400 2018-07-02 20:45:22 +01:00
UI.c dtwm: 88998 2018-07-02 20:46:39 +01:00
UI.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmBackdrop.c Remove ancient HP VUE compatibility support 2019-10-15 20:32:05 -06:00
WmBackdrop.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmBitmap.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmCDInfo.c dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only 2018-06-25 00:20:55 +01:00
WmCDInfo.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmCDecor.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmCDecor.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmCEvent.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmCEvent.h Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmCPlace.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmCPlace.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmColormap.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmColormap.h Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmError.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmError.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmEvent.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmEvent.h dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
WmFP.c dtwm: Change to ANSI function definitions 2018-06-28 04:17:53 +01:00
WmFeedback.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmFeedback.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmFunction.c dtwm: fixes to make it build 2019-10-30 12:17:32 -06:00
WmFunction.h dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
WmGlobal.h Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmGraphics.c dtwm: remove register keyword 2018-06-27 22:20:34 -06:00
WmGraphics.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmHelp.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmHelp.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmIBitmap.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmICCC.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmIDecor.c dtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE as a whole requires 2.1 2018-06-20 01:11:17 +01:00
WmIDecor.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmIPC.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmIPC.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmIPlace.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmIPlace.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmIconBox.c dtwm: Change to ANSI function definitions 2018-06-28 04:17:53 +01:00
WmIconBox.h dtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE as a whole requires 2.1 2018-06-20 01:11:17 +01:00
WmImage.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmImage.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmInitWs.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmInitWs.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmKeyFocus.c dtwm: Change to ANSI function definitions 2018-06-28 04:17:53 +01:00
WmKeyFocus.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmMain.c dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only 2018-06-25 00:20:55 +01:00
WmManage.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmManage.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmMenu.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmMenu.h dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
WmMultiHead.c dtwm: Resolve coverity warnings 2018-04-02 18:08:40 +01:00
WmMultiHead.h Resolve some compiler warnings 2018-03-18 00:21:51 +00:00
WmOL.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmOL.h Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmPanelP.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmParse.c dtwm: remove register keyword 2018-06-27 22:20:34 -06:00
WmParse.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmParseP.c dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmParseP.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmPresence.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmPresence.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmProperty.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmProperty.h Remove ancient HP VUE compatibility support 2019-10-15 20:32:05 -06:00
WmProtocol.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmProtocol.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmResCvt.c dtwm: remove register keyword 2018-06-27 22:20:34 -06:00
WmResCvt.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmResNames.h dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
WmResParse.c dtwm: remove register keyword 2018-06-27 22:20:34 -06:00
WmResParse.h dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
WmResource.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmResource.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmSignal.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmSignal.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmWinConf.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmWinConf.h dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
WmWinInfo.c Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
WmWinInfo.h dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
WmWinList.c dtwm: remove register keyword 2018-06-27 22:20:34 -06:00
WmWinList.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmWinState.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmWinState.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmWrkspace.c Remove ancient HP VUE compatibility support 2019-10-15 20:32:05 -06:00
WmWrkspace.h Remove ancient HP VUE compatibility support 2019-10-15 20:32:05 -06:00
WmXSMP.c dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
WmXSMP.h dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
dtwm.msg Spelling fixes 2018-05-31 22:23:19 -06:00
mapfile.reorder
sys.dtwmrc.src

README

Conditional Compilation 
-----------------------

The following is a listing of the conditional compilation switches that
are "not obvious." Excluded are hardware or OS identifiers (e.g. __ultrix),
header file include flags, and macros (e.g. ABS).

    DEBUG
	Turns on code that prints out error messages (specifically
	protocol errors).

    DEBUGGER
	Turns on code to help debugging Help-on-item.

    DEBUG_ICON_BOX
	Turns on code that alters iconbox spacing to help debug iconbox.
	(?)

    DEBUG_RESOURCE_DATABASE
	Turns on code that dumps out dtwm's local resource database 
	to aid in debugging resource problems.

    DEBUG_SESSION_HINTS
	If defined, the session hints property is left on the root
	window after being read. Normally, it is deleted.

    ICCC_COMPLIANT
        This enables stricter ICCCM compliance. Specifically, some
	clients didn't get WM_PROTOCOLS quite right.

    INTEGRATION_TESTING_
	Swaps assignment of black and white on wait state cursor as
	a quick indicator of which client is showing the wait state.

    LARGECURSORS
	Allows cursors larger than 16x16.

    MESSAGE_CAT
	Enables message catalog code for local language support.

    MOTIF_DEFAULT_ICON
	Enables the default window icon with four buttons.

    OLD_CODE
	Vestigal code.

    R2_COMPAT
	Enables support for old clients that still pass window geometry
	hint information in WM_NORMAL_HINTS.

    UNMAP_ON_RESTART
	All windows are unmapped on restart.