summaryrefslogtreecommitdiff
path: root/render/form.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/form.h')
-rw-r--r--render/form.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/form.h b/render/form.h
index 013cb30ed..e6f77aaa7 100644
--- a/render/form.h
+++ b/render/form.h
@@ -58,13 +58,14 @@ struct form_control {
struct box *box;
struct box *caret_inline_container;
struct box *caret_text_box;
- int caret_char_offset;
+ unsigned int caret_box_offset, caret_form_offset;
+ unsigned int length;
int caret_pixel_offset;
unsigned int maxlength;
bool selected;
union {
struct {
- int mx, my;
+ int mx, my;
} image;
struct {
int num_items;