summaryrefslogtreecommitdiff
path: root/src/Fl_Input_.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-26 15:33:22 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-26 15:33:22 +0000
commite8818e968cea0d05cd7aa27553a964c16813e422 (patch)
treeb549d41e403c8b8c8bd4ed5d3b77681734192e16 /src/Fl_Input_.cxx
parent20ed92fca49784ed1af09d4b2b81b05a1aa8b2ea (diff)
Android: Widgets can now request the on-screen keyboard when they get focus. This may fail if visible_focus is disabled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input_.cxx')
-rw-r--r--src/Fl_Input_.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index a7f6a9196..68feb4e55 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -1128,6 +1128,7 @@ Fl_Input_::Fl_Input_(int X, int Y, int W, int H, const char* l)
shortcut_ = 0;
set_flag(SHORTCUT_LABEL);
set_flag(MAC_USE_ACCENTS_MENU);
+ set_flag(NEEDS_KEYBOARD);
tab_nav(1);
}