summaryrefslogtreecommitdiff
path: root/src/drivers/Android
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-26 15:42:08 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-26 15:42:08 +0000
commit4df5c6d0b0feb94d09966d62113746c2094028df (patch)
treeee13dc85a335d27fda9672df179dd85cf8a0df30 /src/drivers/Android
parente8818e968cea0d05cd7aa27553a964c16813e422 (diff)
Android: Avoids hiding and showing keyboard when focus changes from text input to text input
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Android')
-rw-r--r--src/drivers/Android/Fl_Android_Screen_Keyboard.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drivers/Android/Fl_Android_Screen_Keyboard.cxx b/src/drivers/Android/Fl_Android_Screen_Keyboard.cxx
index 91a78f42b..c708040ec 100644
--- a/src/drivers/Android/Fl_Android_Screen_Keyboard.cxx
+++ b/src/drivers/Android/Fl_Android_Screen_Keyboard.cxx
@@ -363,8 +363,10 @@ int64_t AKeyEvent_getEventTime (const AInputEvent *key_event)
return 0;
}
-
-void Fl_Android_Screen_Driver::request_keyboard()
+// TODO: different inputs may be able to request different keyboards
+// TODO: knowing the position of the widget, we may be able to avoid
+// obstructing it with the on-screen keyboard
+void Fl_Android_Screen_Driver::request_keyboard( /*o->rect(), o->type()*/ )
{
if (pKeyboardCount==0) {
/*