projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
712c2c9
)
Fix testing for valid window placement Xaw
author
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 20 Feb 2013 17:16:00 +0000 (18:16 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 20 Feb 2013 17:16:00 +0000 (18:16 +0100)
xaw/xoptions.c
patch
|
blob
|
history
diff --git
a/xaw/xoptions.c
b/xaw/xoptions.c
index
d0fdafc
..
f70e80f
100644
(file)
--- a/
xaw/xoptions.c
+++ b/
xaw/xoptions.c
@@
-1231,7
+1231,7
@@
GenericPopUp (Option *option, char *title, DialogClass dlgNr, DialogClass parent
XtSetArg(args[j], XtNheight, (Dimension) (wp[dlgNr]->height)); j++;
XtSetArg(args[j], XtNwidth, (Dimension) (wp[dlgNr]->width)); j++;
}
- if(wp[dlgNr]->width > 0 && wp[dlgNr]->y > 0) {
+ if(wp[dlgNr]->x > 0 && wp[dlgNr]->y > 0) {
XtSetArg(args[j], XtNx, (Position) (wp[dlgNr]->x)); j++;
XtSetArg(args[j], XtNy, (Position) (wp[dlgNr]->y)); j++;
}