path: root/gtk
diff options
authorMichael Drake <>2010-06-04 09:35:08 +0000
committerMichael Drake <>2010-06-04 09:35:08 +0000
commitb010a257712b3d104035cbfc15aba8f517ffacb5 (patch)
treeba220c9c0c2c02ea1a8441ad8ace44d4c0bc5164 /gtk
parentbc9fef0a1a7a45a640d37353f97e72006e1e09b6 (diff)
+ Refactor input handling from browser window code into content
handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
Diffstat (limited to 'gtk')
2 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c
index eec28a20a..b7cae501e 100644
--- a/gtk/gtk_gui.c
+++ b/gtk/gtk_gui.c
@@ -569,8 +569,8 @@ bool nsgtk_throbber_init(int framec)
static void nsgtk_select_menu_clicked(GtkCheckMenuItem *checkmenuitem,
gpointer user_data)
- browser_window_form_select(select_menu_bw, select_menu_control,
- (intptr_t)user_data);
+ form_select_process_selection(select_menu_bw->current_content,
+ select_menu_control, (intptr_t)user_data);
void gui_create_form_select_menu(struct browser_window *bw,
diff --git a/gtk/gtk_window.c b/gtk/gtk_window.c
index 4c8ff6178..d887f7027 100644
--- a/gtk/gtk_window.c
+++ b/gtk/gtk_window.c
@@ -22,6 +22,7 @@
#include "content/hlcache.h"
#include "gtk/gtk_window.h"
#include "desktop/browser.h"
+#include "desktop/mouse.h"
#include "desktop/options.h"
#include "desktop/searchweb.h"
#include "desktop/textinput.h"