mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-11 11:15:55 +01:00
Enhanced the cursor positioning/selecting text using the mouse in a textfield.
This also fixed an endless loop that could be entered by the previous code in certain situations, after the patch to fix navigation/selection in a textfiled with UTF8 chars was applied.
This commit is contained in:
@@ -572,6 +572,7 @@ testTextField(WMScreen *scr)
|
||||
field = WMCreateTextField(win);
|
||||
WMResizeWidget(field, 200, 20);
|
||||
WMMoveWidget(field, 20, 20);
|
||||
WMSetTextFieldText(field, "the little \xc2\xa9 sign");
|
||||
|
||||
field2 = WMCreateTextField(win);
|
||||
WMResizeWidget(field2, 200, 20);
|
||||
|
||||
Reference in New Issue
Block a user