projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make frame width configurable in XB
[xboard.git]
/
xboard.c
diff --git
a/xboard.c
b/xboard.c
index
0b3c7f4
..
a1a41b9
100644
(file)
--- a/
xboard.c
+++ b/
xboard.c
@@
-1572,8
+1572,8
@@
GetActualPlacement (Widget wg, WindowPlacement *wp)
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;
}