mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 406837 - clicking on text input box or address bar doesn't raise virtual keyboard on n800 r=roc sr=roc
This commit is contained in:
parent
40c9a11cb3
commit
e43d03a42e
@ -38,6 +38,11 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifdef MOZ_PLATFORM_HILDON
|
||||
#define MAEMO_CHANGES
|
||||
#include <gtk/gtkimcontext.h>
|
||||
#endif
|
||||
|
||||
#include "prlink.h"
|
||||
|
||||
#include "nsWindow.h"
|
||||
@ -6114,6 +6119,13 @@ nsWindow::SetIMEEnabled(PRUint32 aState)
|
||||
// Even when aState is not PR_TRUE, we need to set IME focus.
|
||||
// Because some IMs are updating the status bar of them in this time.
|
||||
focusedWin->IMESetFocus();
|
||||
#ifdef MOZ_PLATFORM_HILDON
|
||||
if (mIMEData->mEnabled)
|
||||
hildon_gtk_im_context_show (focusedIm);
|
||||
else
|
||||
hildon_gtk_im_context_hide (focusedIm);
|
||||
#endif
|
||||
|
||||
} else {
|
||||
if (IsIMEEditableState(mIMEData->mEnabled))
|
||||
ResetInputState();
|
||||
|
Loading…
Reference in New Issue
Block a user