diff options
author | Robert Manea <gotmor@gmail.com> | 2009-10-19 22:45:52 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-10-19 22:45:52 +0200 |
commit | 4c29f0bc019198a19b82ad3bbf57fc529ababebc (patch) | |
tree | 34eac8c759a8d7fe733b8e524b9f7bbc3ae7b080 /callbacks.c | |
parent | cbf5a2988767616df196a3fa5bd88bc020d5e264 (diff) |
added ROOT_ACTIVE event
Diffstat (limited to 'callbacks.c')
-rw-r--r-- | callbacks.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/callbacks.c b/callbacks.c index dd3008c..a9cdc79 100644 --- a/callbacks.c +++ b/callbacks.c @@ -494,7 +494,9 @@ button_press_cb (GtkWidget* window, GdkEventButton* event) { context = get_click_context(); if((context & WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE)) - send_event(FORM_ACTIVE, "", NULL); + send_event(FORM_ACTIVE, "button1", NULL); + else if((context & WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT)) + send_event(ROOT_ACTIVE, "button1", NULL); } } |