winex11: Update caret position.