From 923eb009e8e3dafb224747e443fb366e76ec6b84 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 5 Aug 2013 20:36:20 +0000 Subject: (svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus. --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 9e64087b0..d3d9baadd 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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; -- cgit v1.2.3-54-g00ecf