(svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus.

This commit is contained in:
michi_cc
2013-08-05 20:36:20 +00:00
parent 21120665e3
commit 4b9fdb9ec4
3 changed files with 57 additions and 15 deletions

View File

@@ -350,7 +350,7 @@ void SetFocusedWindow(Window *w)
* has a edit box as focused widget, or if a console is focused.
* @return returns true if an edit box is in global focus or if the focused window is a console, else false
*/
static bool EditBoxInGlobalFocus()
bool EditBoxInGlobalFocus()
{
if (_focused_window == NULL) return false;