summaryrefslogtreecommitdiff
path: root/render/html_internal.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-13 13:20:26 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-13 13:20:26 +0000
commit9c918930289b18dbfd4bb44081891d5780105bfd (patch)
tree372de7dbf3d8393550e46ab1f8de6e9a97cf2140 /render/html_internal.h
parent1832155b7c64e0a977541930fc78f47bbd675ab2 (diff)
downloadnetsurf-9c918930289b18dbfd4bb44081891d5780105bfd.tar.gz
netsurf-9c918930289b18dbfd4bb44081891d5780105bfd.tar.bz2
Fix selection for non-gui browser windows (iframes).
Selection no longer uses current_redraw_browser. Fix long-standing selection bugs on platforms that use action on release behaviour. svn path=/trunk/netsurf/; revision=12598
Diffstat (limited to 'render/html_internal.h')
-rw-r--r--render/html_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/html_internal.h b/render/html_internal.h
index c736be58a..dc852878a 100644
--- a/render/html_internal.h
+++ b/render/html_internal.h
@@ -24,6 +24,7 @@
#define NETSURF_RENDER_HTML_INTERNAL_H_
#include "content/content_protected.h"
+#include "desktop/selection.h"
#include "render/html.h"
/** Data specific to CONTENT_HTML. */
@@ -92,6 +93,9 @@ typedef struct html_content {
/** Open core-handled form SELECT menu,
* or NULL if none currently open. */
struct form_control *visible_select_menu;
+
+ /** Selection state */
+ struct selection sel;
} html_content;