Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used

This commit is contained in:
wmoxam
2019-10-14 00:31:57 -04:00
committed by Jon Trulson
parent ab863f212d
commit 14e385d175
23 changed files with 0 additions and 519 deletions

View File

@@ -44,9 +44,7 @@
#include "WmICCC.h"
#define DTWM_NEED_FNTPL
#include "WmIBitmap.h"
#ifndef NO_OL_COMPAT
#include "WmOL.h"
#endif /* NO_OL_COMPAT */
#include <X11/Xos.h>
#include <X11/cursorfont.h>
#include <Xm/Xm.h>
@@ -695,14 +693,10 @@ void InitWmGlobal (int argc, char *argv [], char *environ [])
wmGD.xa_DT_WM_EXIT_SESSION = atoms[XA_DT_WM_EXIT_SESSION];
wmGD.xa_DT_WM_LOCK_DISPLAY = atoms[XA_DT_WM_LOCK_DISPLAY];
wmGD.xa_DT_WM_READY = atoms[XA_DT_WM_READY];
#ifndef NO_OL_COMPAT
InitOLCompat();
#endif /* NO_OL_COMPAT */
#ifndef NO_SHAPE
wmGD.hasShape = XShapeQueryExtension (DISPLAY,
&wmGD.shapeEventBase,
&wmGD.shapeErrorBase);
#endif /* NO_SHAPE */
wmGD.replayEnterEvent = False;
wmGD.menuActive = NULL;
@@ -761,19 +755,6 @@ void InitWmGlobal (int argc, char *argv [], char *environ [])
_DtGetSmWindow(DISPLAY,
RootWindow(DISPLAY, 0),
&wmGD.dtSmWindow) ;
#ifdef PANACOMM
/*
* If this is the first screen we've managed,
* tell the session manager we're ready
*/
if (!processedGlobalResources)
{
SendClientMsg( wmGD.dtSmWindow,
(long) wmGD.xa_DT_SM_WM_PROTOCOL,
(long) wmGD.xa_DT_WM_READY,
CurrentTime, NULL, 0);
}
#endif /* PANACOMM */
/* create topmost shell (application shell) */
argnum = 0;