projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Start insertion point at end of text edits in XB dialogs
[xboard.git]
/
xoptions.c
diff --git
a/xoptions.c
b/xoptions.c
index
558da58
..
c75263f
100644
(file)
--- a/
xoptions.c
+++ b/
xoptions.c
@@
-105,6
+105,7
@@
void SetFocus(Widget w, XtPointer data, XEvent *event, Boolean *b)
}
XtSetArg(args, XtNdisplayCaret, True);
XtSetValues(w, &args, 1);
+ XawTextSetInsertionPoint(w, 9999); // position cursor at end
XtSetKeyboardFocus((Widget) data, w);
previous = w;
}