Fancy: correctly handle when text selection event ends on a link
[claws.git] / src / plugins / fancy / fancy_viewer.h
index bc497a58949cef4302a13e120c3067a6421f86fb..4d751b712a862077729df939f5e45ff50a0b895f 100644 (file)
@@ -33,7 +33,7 @@
 #include <webkit/webkitversion.h>
 #include <webkit/webkitwebframe.h>
 #include <webkit/webkitnetworkrequest.h>
-#if WEBKIT_CHECK_VERSION (1,3,13)
+#if WEBKIT_CHECK_VERSION (1,3,10)
 #include <webkit/webkitglobals.h>
 #endif
 #include <prefs_common.h>
@@ -116,6 +116,10 @@ struct _FancyViewer
        gulong            doc_handle;
        gint              loading;
 
+       /* Coordinates of the last mouse click. */
+       gint              click_x;
+       gint              click_y;
+
        /* DOM Objects */
 #if WEBKIT_CHECK_VERSION(1,5,1)
        WebKitDOMDocument         *doc;