dtwm: remove define MINIMAL_DT which is always on for CDE
authorPeter Howkins <flibble@users.sf.net>
Tue, 19 Jun 2018 19:50:50 +0000 (20:50 +0100)
committerPeter Howkins <flibble@users.sf.net>
Tue, 19 Jun 2018 19:50:50 +0000 (20:50 +0100)
cde/programs/dtwm/Imakefile
cde/programs/dtwm/README
cde/programs/dtwm/WmFeedback.c
cde/programs/dtwm/WmGlobal.h
cde/programs/dtwm/WmResNames.h
cde/programs/dtwm/WmResource.c

index 50332467cb6716459c6c6721d8e779b67fec67fe..1884359bac72378e36566c28b7eff57b80099a6c 100644 (file)
@@ -12,7 +12,7 @@ MWMDEFINES = $(VFORK_DEFINE) -DLARGECURSORS -DR2_COMPAT -DOPAQUE -DSHAPE \
 DTWMDEFINES = -DWSM
 
 DEPEND_DEFINES = $(DEPENDDEFINES)
-DEFINES = $(MWMDEFINES) $(DTWMDEFINES) -DMULTIBYTE -DMINIMAL_DT
+DEFINES = $(MWMDEFINES) $(DTWMDEFINES) -DMULTIBYTE
 INCLUDES = $(TIRPCINC)
 
 DEPLIBS = DepDtClientLibs
index c16727c6dc055040ca99e597c5f16e6d8a1eab20..108c45da4e16aaf5d10c4b09f25e58c9afa240ab 100644 (file)
@@ -77,10 +77,6 @@ header file include flags, and macros (e.g. ABS).
     MESSAGE_CAT
        Enables message catalog code for local language support.
 
-    MINIMAL_DT
-       Enables some code for "light weight" version of dtwm. (This
-       isn't meaningful any more since we've dumped the BMS.)
-
     MOTIF_DEFAULT_ICON
        Enables the default window icon with four buttons.
 
index 24c6017d12e626a5790c883dda195abf0d37e4c6..e3b46935addcbdd23cde8ff9c8356aff2094746b 100644 (file)
@@ -148,7 +148,6 @@ initMesg()
     }
     else
     {
-#ifdef MINIMAL_DT
        if (wmGD.dtLite)
        {
            tmpString = ((char *)GETMESSAGE(22, 9, "Log out?"));
@@ -157,9 +156,6 @@ initMesg()
        {
            tmpString = ((char *)GETMESSAGE(22, 11, "QUIT Workspace Manager?"));
        }
-#else /* MINIMAL_DT */
-       tmpString = ((char *)GETMESSAGE(22, 11, "QUIT Workspace Manager?"));
-#endif /* MINIMAL_DT */
     }
     
     if ((confirm_mesg[3] =
@@ -171,7 +167,6 @@ initMesg()
            confirm_mesg[3] = "QUIT Mwm?";
        }
        else
-#ifdef MINIMAL_DT
        if (wmGD.dtLite)
        {
            confirm_mesg[3] = "Log out?";
@@ -180,9 +175,6 @@ initMesg()
        {
            confirm_mesg[3] = "QUIT Workspace Manager?";
        }
-#else /* MINIMAL_DT */
-       tmpString = ((char *)GETMESSAGE(22, 11, "QUIT Workspace Manager?"));
-#endif /* MINIMAL_DT */
     }
     else
     {
index be0353948e6ea8b5ae497037e2581efad53cf294..b98726031ae42e5d07cea61f61cd7bd2d58a3e37 100644 (file)
@@ -2282,10 +2282,8 @@ typedef struct _WmGlobalData
     String      helpDirectory;                 /* resource */
     Window     requestContextWin;              /* for WmRequest f.fcns */
 #endif /* WSM */
-#ifdef MINIMAL_DT
     Boolean     dtLite;                        /* resource */
     Boolean     blinkOnExec;                    /* resource */
-#endif /* MINIMAL_DT */
     WmScreenData *dtSD; /* screen for front panel */
     int         iSlideUpsInProgress;
     Boolean    waitForClicks;                  /* resource */
index 2d1de094732f3f96cc9c12496574631324b87172..9c4d4fa0a49940ee23580b2a3120129d3532f65a 100644 (file)
@@ -61,9 +61,7 @@
 #define WmNbackdropDirectories         "backdropDirectories"
 #endif /* WSM */
 #define WmNbitmapDirectory             "bitmapDirectory"
-#ifdef MINIMAL_DT
 #define WmNblinkOnExec                 "blinkOnExec"
-#endif /* MINIMAL_DT */
 #define WmNbuttonBindings              "buttonBindings"
 #define WmNcleanText                   "cleanText"
 #define WmNclientAutoPlace             "clientAutoPlace"
 #ifdef WSM
 #define WmNuseWindowOutline            "useWindowOutline"
 #endif /* WSM */
-#ifdef MINIMAL_DT
 #define WmNdtLite                      "useDtLite"
-#endif /* MINIMAL_DT */
 #define WmNmoveOpaque                   "moveOpaque"
 #define WmNframeStyle                  "frameStyle"
 
 #define WmCBackdropDirectories         "BackdropDirectories"
 #endif /* WSM */
 #define WmCBitmapDirectory             "BitmapDirectory"
-#ifdef MINIMAL_DT
 #define WmCBlinkOnExec                 "BlinkOnExec"
-#endif /* MINIMAL_DT */
 #define WmCButtonBindings              "ButtonBindings"
 #define WmCCleanText                   "CleanText"
 #define WmCClientAutoPlace             "ClientAutoPlace"
 #ifdef WSM
 #define WmCUseWindowOutline            "UseWindowOutline"
 #endif /* WSM */
-#ifdef MINIMAL_DT
 #define WmCDtLite                      "UseDtLite"
-#endif /* MINIMAL_DT */
 #define WmCMoveOpaque                   "MoveOpaque"
 #define WmCFrameStyle                  "FrameStyle"
 #ifdef WSM
index 891c4016908f36af2966be8a61d75874ce50ef78..cc724634dcef6b94af5fbc09d0ed2969dd9cb296 100644 (file)
@@ -648,7 +648,6 @@ XtResource wmGlobalResources[] =
        XtRString,
        (XtPointer)BITMAPDIR
     },
-#ifdef MINIMAL_DT
     {
        WmNblinkOnExec,
        WmCBlinkOnExec,
@@ -658,7 +657,6 @@ XtResource wmGlobalResources[] =
        XtRImmediate,
        (XtPointer)False
     },
-#endif /* MINIMAL_DT */
     {
        WmNframeStyle,
        WmCFrameStyle,
@@ -1025,7 +1023,6 @@ XtResource wmGlobalResources[] =
     },
 
 #endif /* WSM */
-#ifdef MINIMAL_DT
     {
        WmNdtLite,
        WmCDtLite,
@@ -1035,7 +1032,6 @@ XtResource wmGlobalResources[] =
        XtRImmediate,
        (XtPointer)False
     }
-#endif /* MINIMAL_DT */
 }; /* END OF wmGlobalResources[] */