aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-28 20:26:14 +0000
committercorvid <corvid@lavabit.com>2012-12-28 20:26:14 +0000
commit039a753c9fde97ec64458ca780ba9f49e20bbd3f (patch)
treed6d49f92e1067e95fab89fa7eb04653508c620e1 /src/ui.cc
parent3b3f0a9b870470b4ebca82eba1c4ef677327ac97 (diff)
don't let form Input widgets or Location eat Page_Up/Down
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 894e30eb..2dab4954 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -149,6 +149,11 @@ int CustInput::handle(int e)
return 0;
}
}
+ 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.
+ return 0;
+ }
}
return TipWinInput::handle(e);