summaryrefslogtreecommitdiff
path: root/desktop/textinput.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-07-01 14:27:04 +0100
committerVincent Sanders <vince@kyllikki.org>2016-07-01 14:27:04 +0100
commit8066d1c8b4ef4e8e19d22aa2d92950339271b351 (patch)
treea00969fcd198afdd65b647afa889d97ad535f084 /desktop/textinput.c
parent0758af6631674d2ca88ca127c4b42842821ab7d0 (diff)
downloadnetsurf-8066d1c8b4ef4e8e19d22aa2d92950339271b351.tar.gz
netsurf-8066d1c8b4ef4e8e19d22aa2d92950339271b351.tar.bz2
move key press enums and operations to their own header
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r--desktop/textinput.c7
1 files changed, 4 insertions, 3 deletions
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;