diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-02-03 18:49:59 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-03 18:51:24 +0100 |
commit | 29aa585b2ee2af0680eb39749d1797f52e190a3a (patch) | |
tree | b10354db46f7582157d254568a6caed64e9400b3 /vcl/android | |
parent | 1b48979a27f280a87087ee99e012285050522b95 (diff) |
android: get the focus window from SvpSalFrame
Diffstat (limited to 'vcl/android')
-rw-r--r-- | vcl/android/androidinst.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx index 6d70471e035f..50a3040da0c6 100644 --- a/vcl/android/androidinst.cxx +++ b/vcl/android/androidinst.cxx @@ -321,11 +321,6 @@ void AndroidSalInstance::RedrawWindows(ANativeWindow *pWindow) mbQueueReDraw = false; } -SalFrame *AndroidSalInstance::getFocusFrame() const -{ - return !getFrames().empty() ? *getFrames().begin() : NULL; -} - static const char *app_cmd_name(int cmd) { switch (cmd) { @@ -436,7 +431,7 @@ int32_t AndroidSalInstance::onInputEvent (struct android_app* app, AInputEvent* aEvent.mnCharCode = 'a'; // the unicode of it all ... aEvent.mnRepeat = AKeyEvent_getRepeatCount(event); - SalFrame *pFocus = getFocusFrame(); + SalFrame *pFocus = SvpSalFrame::GetFocusFrame(); if (pFocus) bHandled = pFocus->CallCallback( nEvent, &aEvent ); else |