diff options
author | Robert Manea <gotmor@gmail.com> | 2009-10-20 17:09:05 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-10-20 17:09:05 +0200 |
commit | 80b551b6717accb9739a60e527ae90784cfc574a (patch) | |
tree | 538e607af588a9a34da941616a4246139d646d08 /callbacks.c | |
parent | bb5efd8d5e44518ecbeb91776dff988a9ff29154 (diff) |
added automatic switching to insert mode if a text field has initial focus
Diffstat (limited to 'callbacks.c')
-rw-r--r-- | callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callbacks.c b/callbacks.c index 1cf7221..593fdac 100644 --- a/callbacks.c +++ b/callbacks.c @@ -658,7 +658,7 @@ populate_popup_cb(WebKitWebView *v, GtkMenu *m, void *c) { hit++; } - if((mi->context == WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT) && + if((mi->context == WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT) && (context <= WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT) && !hit) { if(mi->issep) { |