From 8066d1c8b4ef4e8e19d22aa2d92950339271b351 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 1 Jul 2016 14:27:04 +0100 Subject: move key press enums and operations to their own header --- desktop/textinput.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'desktop/textinput.c') diff --git a/desktop/textinput.c b/desktop/textinput.c index d4a8bf8b4..c0e0ba8f7 100644 --- a/desktop/textinput.c +++ b/desktop/textinput.c @@ -33,15 +33,16 @@ #include "utils/talloc.h" #include "utils/utf8.h" #include "utils/utils.h" +#include "netsurf/mouse.h" #include "netsurf/form.h" +#include "netsurf/window.h" +#include "netsurf/keypress.h" #include "render/box.h" #include "render/html_internal.h" #include "render/layout.h" -#include "netsurf/mouse.h" #include "desktop/browser_private.h" #include "desktop/textinput.h" -#include "netsurf/window.h" #include "desktop/gui_internal.h" /* Define to enable textinput debug */ @@ -101,7 +102,7 @@ void browser_window_remove_caret(struct browser_window *bw, bool only_hide) } } -/* exported interface documented in desktop/textinput.h */ +/* exported interface documented in netsurf/keypress.h */ bool browser_window_key_press(struct browser_window *bw, uint32_t key) { struct browser_window *focus = bw->focus; -- cgit v1.2.3