#include <assert.h>
#include <X11/Intrinsic.h>
-#include <Xm/XmStrDefs.h>
+#include <X11/StringDefs.h>
#include <X11/Xatom.h>
#include <X11/Shell.h>
#include "motif.h"
Dimension w, h;
int i;
- XtVaGetValues(state->goal, XmNwidth, &w, XmNheight, &h, (char *)NULL);
+ XtVaGetValues(state->goal, XtNwidth, &w, XtNheight, &h, (char *)NULL);
for (i = 0; i < 9; i++) {
int x = i%3, y = i/3;
}
/*
- * Clear and reset XmNiconPixmap otherwise it seems dtwm will not
+ * Clear and reset XtNiconPixmap otherwise it seems dtwm will not
* notice the changed icon.
*/
- XtVaSetValues(shell, XmNiconPixmap, None, (char *)NULL);
- XtVaSetValues(shell, XmNiconPixmap, state->icon_pixmap, (char *)NULL);
+ XtVaSetValues(shell, XtNiconPixmap, None, (char *)NULL);
+ XtVaSetValues(shell, XtNiconPixmap, state->icon_pixmap, (char *)NULL);
if (wm_icon) {
Atom net_wm_icon = XInternAtom(display, "_NET_WM_ICON", FALSE);
Dimension w, h;
int i;
- XtVaGetValues(state->game, XmNwidth, &w, XmNheight, &h, (char *)NULL);
+ XtVaGetValues(state->game, XtNwidth, &w, XtNheight, &h, (char *)NULL);
w /= 5; h /= 5;
for (i = 0; i < 25; i++) {