XtSetArg(args[i], XtNwidth, &w); i++;
XtSetArg(args[i], XtNheight, &h); i++;
XtGetValues(wg, args, i);
- wp->x = x - 4;
- wp->y = y - 23;
+ wp->x = x - frameX;
+ wp->y = y - frameY;
wp->height = h;
wp->width = w;
}
NULL/* transfer_done_proc */);
}
+void
+CopyFENToClipboard ()
+{ // wrapper to make call from back-end possible
+ CopyPositionProc(NULL, NULL, NULL, NULL);
+}
+
/* function called when the data to Paste is ready */
static void
PastePositionCB (Widget w, XtPointer client_data, Atom *selection,