summaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-28 21:02:13 +0000
committercorvid <corvid@lavabit.com>2012-12-28 21:02:13 +0000
commit08fcee0f972badaa2dc71ae5008fc5ae71dde1a3 (patch)
tree9604fda3d36b2a2ad2b9f657bbae21339d0f2ca0 /dw/fltkui.cc
parent039a753c9fde97ec64458ca780ba9f49e20bbd3f (diff)
don't let form Input eat Up or Down, either
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index 6f54c08f..65c54f69 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -61,9 +61,8 @@ int CustInput2::handle(int e)
unsigned modifier = Fl::event_state() & (FL_SHIFT | FL_CTRL | FL_ALT);
if (e == FL_KEYBOARD) {
- if (k == FL_Page_Down || k == FL_Page_Up) {
- // These do nothing of interest when FL_MULTILINE_INPUT isn't set.
- // Let them through for key commands.
+ if (k == FL_Page_Down || k == FL_Page_Up || k == FL_Up || k == FL_Down) {
+ // Let them through for key commands and viewport motion.
return 0;
}
if (modifier == FL_CTRL) {