From c2a718075ad321a9cf4678e72645acda5c3471a9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 22 Feb 2013 12:19:35 +0000 Subject: A load of refactoring of how content selection and input work. Keypresses now go via content interface. Contents don't shove the selection object into browser windows any more. Contents report selection existence by sending message. HTML content keeps track of where selections in it exist. Contents report whether they have input focus via caret setting msg. Caret can be hidden (can still input/paste) or removed. Consolidate textarea selection handling. Make textarea report its selection status changes to client. Various textarea fixes. Changed how we decide when to clear selections, and give focus. --- desktop/frames.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'desktop/frames.c') diff --git a/desktop/frames.c b/desktop/frames.c index 27085ef3d..dcc66df9d 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -219,7 +219,6 @@ void browser_window_create_iframes(struct browser_window *bw, window->no_resize = true; window->margin_width = cur->margin_width; window->margin_height = cur->margin_height; - window->cur_sel = bw->cur_sel; window->scale = bw->scale; if (cur->name) { window->name = strdup(cur->name); @@ -338,7 +337,6 @@ void browser_window_create_frameset(struct browser_window *bw, warn_user("NoMemory", 0); } - window->cur_sel = bw->cur_sel; window->scale = bw->scale; /* linking */ -- cgit v1.2.3