dtwm: Cleanup some implicit definitions

Mostly this is adding appropriate #includes and declarations,
but for WmImage.c we also change from using the proper name
for XmeGetMask, rather than the identical but renamed
version _DtGetMask which is not exported in any header.
This commit is contained in:
Frederic Koehler
2012-08-09 17:11:11 -04:00
committed by Jon Trulson
parent 185ec24999
commit 44dfebe9d2
24 changed files with 56 additions and 5 deletions

View File

@@ -7315,6 +7315,9 @@ void ProcessMotifBindings (void)
XDeleteProperty (DISPLAY, RootWindow (DISPLAY, 0),
XInternAtom (DISPLAY, "_MOTIF_DEFAULT_BINDINGS", False));
/* FIXME: unexported openmotif procedures */
extern Boolean _XmVirtKeysLoadFileBindings(Display *dsp, String *binding);
extern void _XmVirtKeysLoadFallbackBindings(Display *dsp, String *binding);
if (_XmVirtKeysLoadFileBindings (fileName, &bindings) == True) {
XChangeProperty (DISPLAY, RootWindow(DISPLAY, 0),
XInternAtom (DISPLAY, "_MOTIF_BINDINGS", False),