From 9c918930289b18dbfd4bb44081891d5780105bfd Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 13 Jul 2011 13:20:26 +0000 Subject: 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 --- render/html_internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'render/html_internal.h') 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; -- cgit v1.2.3