talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 0a83c86dca7e7e2cf68ced12c0d216444cc2f5c3
parent 3ca5da1a1390b0f3d86c588405ef4425e5d7a137
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Mon, 24 Apr 2017 07:42:27 +0200

A fix for a fix in ea866a633.

Diffstat:
Msrc/plugins/fancy/fancy_viewer.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c @@ -856,13 +856,14 @@ static gboolean press_button_cb (WebKitWebView *view, GdkEvent *ev, gint type; WebKitHitTestResult *result = webkit_web_view_get_hit_test_result(view, (GdkEventButton *)ev); -# if WEBKIT_CHECK_VERSION(1,9,3) - /* The x and y properties were added in 1.9.3 */ + g_object_get(G_OBJECT(result), "context", &type, +# if WEBKIT_CHECK_VERSION(1,9,3) "x", &viewer->click_x, "y", &viewer->click_y, - NULL); # endif /* 1.9.3 */ + NULL); + if (type & WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION) return FALSE;